Hello,

I'm now thinking of using ZODB for our application.
Is it possible to make something like this?

http://hohehohe2.hp.infoseek.co.jp/kerama/misc/shareddict.jpg

There are data in a DataHolder object that needs to be
saved.
DataHolder is not a subclass of Persistent but each data
stored in
its attribute is persistent. A PersistentDataholder is a
subclass
of ZODB Persistent which instance works as a proxy of a
DataHolder object
and it is under ZODB control.

There are two reasons I want to do this: a DataHolder
object
frequently changes it's __class__ or __bases__, and I'd
like to make this
module storage independent. I know it loses some of ZODB
features, automatic
_p_changed setting for instance, still ZODB is the best
option if we
can do this.

I think it's o.k. because if we look at how references are
made, it
is just a normal design using zodb, but it looks weird so
I'd like to
know if it is really o.k.

Well I looked for a mailing list that *uses* ZODB, not
that *makes* ZODB but
couldn't find one. If this mailing list is not an
appopriate one for a question
like this, please just let me know.

Koichi


--------------------------------------
STOP HIV/AIDS.
Yahoo! JAPAN Redribbon Campaign 2005
http://pr.mail.yahoo.co.jp/redribbon/
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to