[Zope] Site-wide (global) variables ...
Jonothan Farr
jfarr@real.com
Wed, 26 Jan 2000 17:46:03 -0800
> I'm looking for advice on implementing site-wide (global)
> variables in Zope. That is, I want certain variables
> to be accessible to every folder, ZClass, method and
> document in the ZODB. Should I simply add these
> properties to the root folder and then make use of
> aquisition or is there a more elegant approach (say
> a globals singleton object that lives in the root)?
I believe that acquired properties of the root folder -is- the elegant
solution.
-jfarr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi! I'm a signature virus.
Copy me into your .sig to join the fun!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~