[Zope3-dev] Voting on Schema design

Shane Hathaway shane@zope.com
Mon, 15 Jul 2002 11:03:50 -0400


Guido van Rossum wrote:
>>>>>>>"CD" == Casey Duncan <casey@zope.com> writes:
>>>>>>
>>    CD> I find this whole Zope package thing quite confusing 8^) (but
>>    CD> I know it makes Jim happy). Just stick it in
>>    CD> site-packages... ;^)
>>
>>I'm with you here Casey, I've given up on this particular battle. ;)
>>
>>-Barry
> 
> 
> Ditto.

Here is the theory as I see it.

Zope consists of a large number of independently reusable packages--so 
many that installing directly to site-packages would cause a burden. 
Zope 3 will have even more reusable packages.  Therefore Zope 3 uses a 
top-level package called Zope, but the top-level package functions only 
as a *namespace*.  This is very similar to Java's package naming 
convention, but we're not using an "org" prefix.

Thus the presence of, say, Zope.ComponentArchitecture, does not imply 
the presence of Zope.PageTemplate, even though both are distributed with 
Zope.  Nor should Zope.PageTemplate expect to find 
Zope.ComponentArchitecture.  Developers will be able to select only the 
  parts they need from Zope.*, while at the same time, installing Zope 
won't flood site-packages.

Shane