[Zope3-Users] Containers and ZODB

Drew Smathers drew.smathers at gmail.com
Fri Aug 24 15:47:57 EDT 2007


> You don't really need to implement a container, you could just write a non
> persistent object (not derived from Persistent), and create a view on it.
> But the next problem is to be able to traverse to this object, since traversal
> starts from the root of the zodb.

I thought a Container was a nice way of modeling the traversal aspect.
 For example, I want view that represents a list of foobars, or a list
of foobars marked as `ready' etc.  But again, I'm new to zope3, so
there may be a better way of doing this that I haven't realized.

Thanks for the suggestions.

-- 
d.p.s


More information about the Zope3-users mailing list