Re: [Zope3-Users] OOBtrees ZODB

2008-07-09 Thread Randy Crafton
Folder uses an OOBTree to store it's data, so it should be ok. But if you want to use BTreeContainer and have it work as a Site, you just have the mix the two together in a custom container class: from zope.app.container.interfaces import IContainer from zope.app.component.interfaces import

Re: [Zope3-Users] OOBtrees ZODB

2008-07-09 Thread Tim Cook
On Wed, 2008-07-09 at 08:39 -0500, Randy Crafton wrote: Folder uses an OOBTree to store it's data, so it should be ok. Thanks. I believe that solves my issue. :-) But if you want to use BTreeContainer and have it work as a Site, you just have the mix the two together in a custom container

Re: [Zope3-Users] OOBtrees ZODB

2008-07-08 Thread Shailesh Kumar
BTreeContainer doesn't support site managers. Folder is a subclass of SiteManagerContainer which is a subclass of BTreeContainer. You can happily use Folder here. With regards, - Shailesh On 7/8/08, Tim Cook [EMAIL PROTECTED] wrote: I am building a platform where I want to initialize the

Re: [Zope3-Users] OOBtrees ZODB

2008-07-08 Thread Tim Cook
On Tue, 2008-07-08 at 09:31 -0700, Shailesh Kumar wrote: BTreeContainer doesn't support site managers. Folder is a subclass of SiteManagerContainer which is a subclass of BTreeContainer. You can happily use Folder here. Thanks. I hadn't noticed that. In the earlier days of Zope2,