On Apr 8, 2005 11:05 AM, Roy S. Rapoport <[EMAIL PROTECTED]> wrote:
> A coworker of mine wrote his own web server framework from scratch for an
> internal application.  We're looking to migrate this application to Zope
> (thank God!).  The only question we need to deal with is:
> The reason he wrote his own webserver rather than use CGIs is that there
> was some processing that needed to happen to initialize a system state --
> basically, create an object that knows about the configuration of some
> things.  In his model, this object is created at the beginning and is
> simply shared among the various Python objects/modules that are invoked when
> responding to user requests.
> How can I create such a persistent object that, say, a python script object
> or a page template could access?

Is this persistent even among server restarts, or persistent per
request, or persistent per session? (the answer is different for all
of them, and usually, in Zope, "persistent" means "persistent over
server restarts").

Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to