-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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.
Your point of view is in general correct. However there are situations were you don't have access direct access to a request and when changing/fixing the underlaying framework(s) isn't a option. I had this issue frequently with the 'validation' module of Archetypes. Using zope.globalrequest as a workaround is in this case a much better than solution than hacking the framework. Andreas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAklzXX4ACgkQCJIWIbr9KYzsKwCgmCKIzx0eSTPRPUA3nUhldRBG b7gAn2DICuuzvAZ0Z7Bm1NnR10BzpDkU =w+V4 -----END PGP SIGNATURE-----