View Single Post
  #49   Spotlight this post!  
Unread 19-11-2013, 08:29
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Lightbulb Re: A New Way to Scout

Quote:
Originally Posted by SoftwareBug2.0 View Post
I also think this would be great. It would be fun to play around with even if teams waited till after the season.

As for a format, one year we had a scouting program that stored everything in text files in the form:
<match#> <team#> <property name> <value>

So you'd get lines that said something like:
Code:
15 2471 climb 10

So, with this data storage, are you using text-based database? If so:

Code:
15/2471/1
match/team#/climb code (0=no,1=10,2=20,3=30)
That would be a lot more readable to PHP and easier to implement. However, it would be important to note that text-based isn't so reliable. If this software is running for multiple teams, every time a match ends, the server will get a huge load. Multiple appends to the same file at the same time, many times, means a corrupt file. Instead, MySQL or some other database server built to store information may be the lifesaver!
The only time I used text databases is when I was learning PHP and using it on a site that maxes out at a view per day!