garrensilverwing
New Member
- Messages
- 148
- Reaction score
- 0
- Points
- 0
I am working on a website for a chess club and one of the features I am going to add is a database of all the games played at the club or sponsored tournaments. I have three ways of going about this:
Code wise I already have the code to extract the data from a previous post but I am looking for the most efficient way to do it. From the get go there will probably not be many games but there is potential for a lot of games. There are three things I want to do with the games:
- Store the games in their raw PGN state.
- Extract all the data to store in separate columns in a table.
- Extract all the data and then store it with the PGN in the table.
Code wise I already have the code to extract the data from a previous post but I am looking for the most efficient way to do it. From the get go there will probably not be many games but there is potential for a lot of games. There are three things I want to do with the games:
- List the games based on their data (excluding the moves). With a search feature.
- (Eventually) Have a clickable javascript chessboard where you can play through the game on the site.
- Download the games in a PGN format (either the full database or whatever they come up with the search.