[Zope-dev] Re: What from zope.app are you using

Philipp von Weitershausen philipp at weitershausen.de
Thu Apr 6 18:16:10 EDT 2006


Tres Seaver wrote:
> Philipp von Weitershausen wrote:
>>> Dieter Maurer wrote:
>>>
>>>> Philipp von Weitershausen wrote at 2006-4-5 22:28 +0200:
>>>>
>>>>> ...
>>>>> We
>>>>> probably want make Zope 3 style containment an alternative to
>>>>> Acquisition in Zope 2 at some point.
>>>> You are aware how many applications a replacement of acquisition
>>>> by "Zope 3 containment" would break?
>>>
>>> That's why I didn't say *replacement* but *alternative*.
> 
> Jim is actively in favor of making acquisition wrappers support the Z3
> location framework (i.e., expose '__parent__' and '__name__'), which
> would be neither. ;)

That's the alternative I had in mind. You would be able to use the
ILocation API as an alternative to the Acquisition API.

The real goal behind all this is to make the security machinery in Zope
2 understand the ILocation API so that you won't *have to* rely on
Acquisition (but instead can use ILocation). Of course, you would still
be able to use Acquisition.

Philipp



More information about the Zope-Dev mailing list