Gabriel Genellina wrote:
- Never store a reference to a persistent object inside another
persistent object; use its id or path to retrieve it when needed.
I suspect storing the aq_base of an object will mitigate any problems
you have here...
- Never store a reference to a persistent object inside a non-persistent
object.
I don't think this is a useful warning.
- If a persistent object "owns" some other persistent objects, make the
first an ObjectManager.
...and this is bordering on rubbish ;-)
- Let Zope manage transactions, and avoid bare try/excepts
Aha, now this is a good one :-)
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )