Tommy Li wrote:
I don't understand how I can use ZODB to do this, however. From what I can gather from reading the manual, if I simply stored variables referring to the parent and children in every TreeNode, I'd end up storing the whole tree of TreeNodes's every time I wanted to store that one TreeNode. (Presumably, because ZODB would follow all the references recursively.)

This won't happen if the classes for your objects inherit from the Persistent class.



Simplistix - Content Management, Zope & Python Consulting
For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -

Reply via email to