The core of my code to generate my stats used at stats.hockeyanalysis.com and puckalytics.com is nearly 10 years old. Since then the code has been modified, extended, and optimized but has now reached the point where I am thinking it has seen its best days and I need to do a complete re-write to get to implement some of the new features I would like.
My code was written to work at the season (or multi-season level) and my websites were designed to work with pre-calculated statistics as opposed to doing calculations on the fly. This has a few benefits but a key one is quick, responsive websites with relatively low server costs. My database is huge but that is OK, storage is cheap.
There are a few downsides though.
- Because everything is pre-calculated running my program to calculate statistics for the past 10 years combined takes a real long time and is becoming a real pain. If was fine for a few years but now it is just getting painful to update if I want to add new features.
- Because my code is designed to work on a season or multi-season basis it doesn’t work all that well to generate game by game stats. I could append more functionality to the program but as I stated above it is getting messy again. I really want to add game reports and game by game stats.
- It was built for the regular season which is why I haven’t really focused much on playoff statistics.
So, while my existing code base has served me superbly over the past 10 years it is time to move on. Also, with expansion my program will need some updates anyway. So, my summer project will be to conduct a complete re-write of my code which scares me to no end because it is going to be a ton of work.
So, as I start planning this next phase of my websites I have a few questions for my users.
- What are the things you like most about stats.hockeyanalysis.com and puckalytics.com. Why do you use it and what features could you not live without.
- If I ditched stats.hockeyanalysis.com and focused on puckalytics.com would you be disappointed?
- What features do other stats sites have that you would love to see brought to Puckalytics.com?
- Are there features that no one else has that you would love to see?
- What stats sites (any sport) do you think have a great user interface that I could maybe model a new improved site after.
- Any other suggestions, comments, feedback, or requests you may have would be greatly appreciated.
So, let me know your thoughts, either the comments or via e-mail at david (at) hockeyanalysis.com.