I am attempting to develop a module for producing ranking tables for fencers
within our region (I am trying to make it generic, so it can be used for
other sports).
The initial part is fairly easy, we have multiple ranking tables (divided by
gender, age group and weapons), so it is a fairly obvious decision to
implement as a table manager/table using the manager/item design pattern.
However, where I go after that is bemusing me. Each table is a manager in its
own right, since it contains the details of each fencer's results. I am
uncertain as to how to link the table manager/table to a ranking
manager/rankings pair. My initial thought was to get the table Item to
instantiate the ranking manager, but I can't get this to work. Looking at the
rssfeeds modules I wonder whether I should be using setClass(), but again I
am not sure whether this should be used in the table manager or the table
class.
Any hints or advice would be gratefully welcomed.
--
Colin Walls
Email: Col...@mu...
Web: http://www.murorum.demon.co.uk
Phone: 01625 535123
Mobile: 07765 175829
|