[Zope-dev] zope.globalrequest?
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jan 16 14:06:33 EST 2009
On Friday 16 January 2009, Hanno Schlichting wrote:
> Christian Theune wrote:
> > I noticed 'zope.globalrequest' on the PyPI RSS feed today and wonder
> > about it. IMHO this implements an anti-pattern in an official way
> > without a warning that this needs to be handled with care.
>
> The discussion for this happened on the plone-dev mailing list. The
> reasoning for the functionality is to provide a clean way to get to the
> request, without relying on Acquisition. Storing the request in a thread
> local is similar to the way other web-frameworks handle this.
Then let's just mention its intended use in Zope 2/Plone in the documentation
and go on with life.
Regards,
Stephan
--
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"
More information about the Zope-Dev
mailing list