Registries...
Posted: Sat Jul 30, 2005 2:15 pm
So I'm assembling a registry right now, primarily for holding the DB class, possibly for some of the PhraseBooks. I know that in general I should avoid the use of the registry, as its close to globals.
When dealing with an application specific registry (ie getDBConnection() versus getResource(DB_CONNECTION) ) would you typically still create a generic registry at as base clss for the application specific registry?
When dealing with an application specific registry (ie getDBConnection() versus getResource(DB_CONNECTION) ) would you typically still create a generic registry at as base clss for the application specific registry?