[Zope-dev] zope.globalrequest?

Wichert Akkerman wichert at wiggy.net
Sun Jan 18 11:40:54 EST 2009


Previously Tres Seaver wrote:
> I don't actually know how this package fits in with either Z2 or Z3:  Z2
> apps are always able to acquire the request, while Z3 apps use the
> "separation of concerns" pattern I just outlined.  I've never wanted a
> 'get_request' method in "production" code:  I would consider the need
> for it a sign that something in the application is factored wrongly.

Z2 apps are increasingly not able to acquire the rest due to the use of
utilities, and utilities trying to use Zope2 code that assumes the
request can be acquired. This is very noticable in CMF with the
GenericSetup setup tool.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Zope-Dev mailing list