In article <[EMAIL PROTECTED]> you write:
> > > Or shall I wrap each one in a custom class that subclasses Persistent?
> > 
> > That is usually an even better idea. And for big dictionaries, you may
> > want to use the BTree objects for storage.
> 
> So in my containing class, I just have
> 
>     class MyContainer( Persistent ):
>         subObject = None
>         def __init__( self ):
>             self.subObject = BTree()
> 
> and etc.? That's all there is to it??

Yes, that's it. You can even store BTree's in BTree's if you fancy :)

Florent
> 


-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:[EMAIL PROTECTED]
_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to