My webapp publishes results for athletic events esp.
Track & Field. Each event share some a characteristic:
the order of the athletes, based mostly on time (the fastest first), but may include height or distance. But there are also
many other specific variations in events.
Example 1
---------
Triathlon - your time is an accumulation of the swim leg, the bike leg and the run leg. Thus the results need to show
those times separately and as a total.
Example 2
---------
In some road racing events, the winner is calculated based on
a series of individual races held over several weeks (I think they call this a Grand Prix event). But the results each week is similar to any one off events - it's just that to display the leader board at the end of the season, you'll need another view
which accumulates all the data together.
So back to the question: what design
patterns can be applied in
my problem domain ? How do I model a "race result" such that it is extensible to cover other more different events in the future ? Will MVC help me in any way in the presentation side
of the results ?
Thanks
Pho