[Zope] Persistence - I know I'm not doing this right...

Samir Mishra SamirMishra@cbuae.gov.ae
Tue, 3 Jun 2003 10:35:04 +0400

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?