by Wilfred Verkley >> Mon, 8 Jan 2001 22:53:05 GMT
What are the cons/pro of storing data on this class?
Most applications ive seen have defined a seperate "Root" class for which they have a pointer to on Application which they initialise using "Root.firstInstance", thus avoiding Global like the plague.
Having a Root class is a good aproach as it leaves open an easy way of running multiple systems within the same database later (by having different Root instances), but why not just store a reference to this from Global ????
Wilfred (hot, sunny, but confusing day in Auckland).