[TransWarp] PROPOSAL: rename Local->App, Global->System in peak.config

alexander smishlajev alex at ank-sia.com
Fri Mar 7 13:15:16 EST 2003


Phillip J. Eby wrote:
> 
> 'peak.config' has a notion of a "local" configuration component, and a 
> "global" configuration component.  But my recent attempts to explain 
> this have shown that these names are too vague as to the intended scope 
> of what "global" and "local" are.
> 
> In the absence of better ideas, I propose to rename the "local" 
> configuration to "App" configuration, and the "global" configuration to 
> "System" configuration.  Thus, for example, 'config.getLocal()' would 
> become 'config.getAppConfig()' and 'config.getGlobal()' would become 
> 'config.getSystemConfig()' respectively.

> Comments, questions, or objections, anyone?

"System" and "App" seem to me much better names than "global" and "local".

but somehow i do not feel very comfortable with "App" name.  IMHO the 
set of components using "local" config does not match exactly the 
concept of "application" as i understand it (in general sense).

may it be that the word "Root" reflects the function of "local" config 
better than the word "application"?

i would suggest words "Service" or "Utility", but those are conflicting 
with the SEF pattern terms...

please do not take this comment too seriously: i am not english speaker, 
and i do not pretend that my understanding of english words is the right 
one.

best wishes,
alex.





More information about the PEAK mailing list