[Zope3-dev] directory hierarchy proposal

Jim Fulton jim@zope.com
Sat, 14 Dec 2002 09:36:34 -0500


Barry A. Warsaw wrote:
>>>>>>"JF" == Jim Fulton <jim@zope.com> writes:
>>>>>>
> 
>     JF> OK, I agree with that.  Now, ZODB must be a *namespace*
>     JF> package, according to my "namespace" vs "module" package
>     JF> distinction.
> 
> +1.  Jeremy and I were discussing trying to create a what I now think
> is a namespace package for storages.  E.g. I'd like to be able to do
> 
> from zodb.storage import FileStorage
> from zodb.storage import BDBFullStorage
> from zodb.storage import DirectoryStorage

Is this really necessary?  Can't storage packages
live directly in zodb?

   from zodb.file import FileStorage
   from zodb.berkeley import FullStorage
   from zodb.directory import DirectoryStorage

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