[Zope] Question about application design

Chris Withers chris at simplistix.co.uk
Wed Apr 21 04:13:40 EDT 2004


Robb Shecter wrote:

> Ausum Studio said:
> 
>>You can keep data in memory by applying a RAM cache to the object that
>>contains or generates it. This is one way to keep resource lists and
>>dictionaries 'on air'.
>>
> 
> Is there a way, from a Python script to just add python objects to a
> container?
> 
> For example, a list of strings to a folder?

folder.manage_addProperty('my_stuff',['one','two','three'],'lines')

> I looked in the API for Folder, 

Look at the PropertyManager API...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope mailing list