[Zope3-dev] Where should database adapters live?

Jim Fulton jim@zope.com
Thu, 08 Aug 2002 07:06:17 -0400


Stephan Richter wrote:
>>We're trying to produce a Gadfly database adapter for Zope3.
>>
> 
> Very cool.
> 
> 
>>While
>>trying to write unit tests for it we came across a question---where
>>should the DAs live?  We assume they are packages, and they live in
>>package Zope in PYTHONPATH on a live Zope instance and in the
>>cvs.zope.org/cvs-repository/Packages3.  Right?
>>
> 
> Yes, they should go into Packages3 in CVS. There is a convention for Zope 3 
> that additional Zope Products should be in a directory called 
> Zope3/lib/python/ZopeProducts; most poeple link their product into this 
> directory then.

There is not a ZopeProducts area in the repository. Add-on products should
go there. (This is actually a link to Products3).

BTW, It's likely that many packages that are currently in the Zope 3 tree
will be movd into add-on products before the final release. Franky, I'm
not too concerned about what's in or out at this point.

> However, here is another thought. We want to ship Zope 3 with one RDB as 
> default as Zope 2 does, and naturally that is Gadfly. Therefore I would not 
> mind, if you put the Gadfly code into 
> /Zope3/lib/python/Zope/App/RDB/GadflyDA.

That's a good point.


> Thanks for your efforts.

Yes, thanks.

Jim

-- 
Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (888) 344-4332            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org