Persistence - I know I'm not doing this right...
Hello All, This is a newbie question, almost embarrassing. I've been storing persistent data in Zope within a Python script. For the sake of simplicity, suppose I want to save values for 2 variables, x & y in Zope, I create a Python script with the following code - return {'x':'value1', 'y':'value2'} When I want to access 'x' & 'y', I call the above script. Q: What's the right way to store persistent objects/data within Zope? TIA Regards, Samir
At Tue, 3 Jun 2003 10:35:04 +0400, Samir Mishra wrote:
When I want to access 'x' & 'y', I call the above script.
Q: What's the right way to store persistent objects/data within Zope?
set the variables in object's property (for example DTML Document) may be light way (not right way) :-) - Sumiya Sakoda <sakoda@toyoake.or.jp>
participants (2)
-
Samir Mishra -
Sumiya Sakoda