[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/publisher/browser/configure.zcml
Allowed annotations on the BrowserRequest
Benji York
benji at zope.com
Thu Nov 3 08:58:31 EST 2005
Stephan Richter wrote:
> On Thursday 03 November 2005 08:06, Dmitry Vasiliev wrote:
>
>>Log message for revision 39866:
>> Allowed annotations on the BrowserRequest
>
> Why do we want to allow the request to be annotated? The request is thrown
> away after each request ;-), so that annotations don't make any sense.
It does make sense if you want things to be "persistent" across a single
request and also be request-local (like thread-local). We've used
something similar to cache expensive calculations during the processing
of a request and to transfer information between objects that otherwise
wouldn't be able to communicate.
I would prefer we remove the underscores from the attribute name though.
--
Benji York
Senior Software Engineer
Zope Corporation
More information about the Zope3-Checkins
mailing list