[Zope-Coders] Environment variables
Toby Dickenson
tdickenson@geminidataloggers.com
Mon, 29 Apr 2002 17:06:30 +0100
On Monday 29 Apr 2002 4:44 pm, Tres Seaver wrote:
>I think the Right Thing (TM) is to add a new module (perhaps inside
>the 'App' package) called 'Options' or 'Configuration'. It would be the
>central repository for knowledge of configuration values, whether set
>from the 'instance.conf' file or from command-line or environment
>variables. I am attaching a file which illustrates this strategy.
IMO a central repository for 'declaring' configuration options is a bad idea.
It assumes that the list of such options is finite and known in advance (that
is, at process startup).