[Zope-dev] Containers in ZODB
Itamar Shtull-Trauring
itamar@maxnm.com
Wed, 07 Jun 2000 16:57:06 +0300
Petr Knapek wrote:
> Container - object with some attributes and methods which can collect
> other objects (also Containers)
For these you should inherit from OFS.ObjectManager.ObjectManager.
> Item - an object with some attributes and methods which can not collect
> any other objects but can be contained in Container
For these you should inherit from OFS.SimpleItem.Item.
All you really need is to inherit from Persistent, if you're making your own
objects, but inheriting from the above will allow you to use them later in
an easier fashion.
--
Itamar S.T. itamar@maxnm.com
"It don't get thingier than that!"