in reply to Re^3: what is a propper way to make a chunk of data accessible to all my packages for retrieval and modification ?
in thread what is a propper way to make a chunk of data accessible to all my packages for retrieval and modification ?
I’d suggest writing configuration class and having the constructors of all your application classes take an instance of it.
It depends on what you need to do with the data, though. Not all globals are evil.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: what is a propper way to make a chunk of data accessible to all my packages for retrieval and modification ?
by wazoox (Prior) on Mar 04, 2006 at 17:51 UTC | |
by Aristotle (Chancellor) on Mar 04, 2006 at 19:35 UTC | |
by wazoox (Prior) on Mar 05, 2006 at 21:17 UTC | |
by adrianh (Chancellor) on Mar 06, 2006 at 23:29 UTC | |
by wazoox (Prior) on Mar 07, 2006 at 12:53 UTC | |
|