[Zope3-dev] Some Z3 thoughts

Jim Fulton jim at zope.com
Fri Oct 29 13:37:08 EDT 2004


Lennart Regebro wrote:
> Jim Fulton wrote:
...

>>> Inconstistencies:
>>>
>>>   - ContainerTypesCONSTRAINT / ItemTypePRECONDITION ???
>>>     They do the same thing!
>>
>>
>>
>> No, they don't.  They are both about constaining the containment 
>> relationship, from different ends.
> 
> 
> Yeah, but one is called contraint, and the other precondition. ;)
> No big deal, it just stood out to me as an inconsistency in something 
> othwerwise carefully consistent.

Ah, I see what you mean. Note that I'm not very happy with this yet. I think
we're going to find a better way to do this.

Also note that there is already a simpler way to do this.  See the containment
section in:

   http://dev.zope.org/Zope3/programmers_tutorial.pdf

>>> Wouldn't it be nice:
>>>
>>>   - Wouldn't it be nice to at least recommend a place for third-party
>>>     packages? Otherwise things are gonna get SERIOUSLY messy.
>>
>>
>>
>> Not sure what you mean.  Are you talking about places in an installation,
>> or in the repository?
> 
> 
> Sorry, in the installation. I like the Zope2 way of having a separate 
> Products where you put all the third-party stuff, but there doesn't seem 
> to be anything like that for Zope3.

Right, I don't like that in Zope 2.  Zope 3 doesn't constrain where you
put things, however, an instance home does provide a lib/python
directory that has the same role.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list