[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components
nobody@nowhere.com
nobody@nowhere.com
Fri, 16 Aug 2002 12:15:36 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#3-58
---------------
Objects stored in modules but not in the ZODB are not persistent
and not-thread safe. In general it's not a good idea to store
data (as opposed to functions, and class definitions) in modules
when using ZODB.
% reiman - Aug. 16, 2002 12:15 pm:
We should mention that module data is the easiest way to achive server-lifetime data store. This is where you
would normally store external references (file handles or database connections or session data) that you
cannot easily reconstruct.