[eluser]lachavvy[/eluser]
Hi all,
I'm quite new to Code Igniter. I'm looking to create a football website for a local 5 a side football league. The main functions are to show the different leagues going on, player profiles (showing their goals, and how their teams are doing etc).
I was wondering, what is the best practise for generating for the Goal Difference part of the table. I could store this in the database, but I could also do this on-the-fly using the "goals for" minus "goals against".
Is it, in most cases best to store things in databases if possible rather than have the web page process it every time as it may be more stressful for the web host?
Some insight into this will be very helpful, thanks!