[Zope] custom_persist_obj
Paul Winkler
pw_lists at slinkp.com
Mon Jun 20 09:24:05 EDT 2005
On Mon, Jun 20, 2005 at 05:12:29AM -0400, Tamas Hegedus wrote:
> Hi,
>
> I am new to Zope and not a programmer. It is a little bit complex for
> me. I am very frustrated, as I can not find the solution for a pretty
> simple task:
>
> I would like to have persistent object with dictionaries.
> I think I do not need a ZClass or Product, just a simple object for
> holding mutable and persistent dictionaries (Manipulating with Script).
> Like
> MyObject:
> dict1 = [ a:1, b:1, c:1, ...]
> dict2 = [ a:2, d:4, e:6]
> etc.
>
> Thanks for your help in advance,
> Tamas
If you want a custom persistent object, you do indeed
need to write a Product.
But that needn't be complex.
http://www.zope.org/Members/maxm/HowTo/minimal_01
--
Paul Winkler
http://www.slinkp.com
More information about the Zope
mailing list