Chris S wrote:
I'm trying to adopt some code to use ZODB as its persistence level.
I've read the Writing a Persistent Class article
(http://www.zope.org/Wikis/ZODB/FrontPage/guide/node3.html#SECTION00035)
but how do you persist a class that already inherits another class?
Does
On Thu, Jul 13, 2006 at 10:56:50AM -0400, Chris S wrote:
I'm trying to adopt some code to use ZODB as its persistence level.
I've read the Writing a Persistent Class article
(http://www.zope.org/Wikis/ZODB/FrontPage/guide/node3.html#SECTION00035)
but how do you persist a class
Tres Seaver wrote:
Zope Corporation's Zope Replication Services products operates along
those lines:
http://www.zope.com/products/zope_replication_services.html
Yeah, but you can only write to one of the storages, right?
Chris
--
Simplistix - Content Management, Zope Python Consulting
Chris S wrote:
On 7/13/06, Christian Theune [EMAIL PROTECTED] wrote:
Chris S wrote:
I'm trying to adopt some code to use ZODB as its persistence level.
I've read the Writing a Persistent Class article
(http://www.zope.org/Wikis/ZODB/FrontPage/guide/node3.html#SECTION00035)
On 7/13/06, David Binger [EMAIL PROTECTED] wrote:
On Jul 13, 2006, at 12:55 PM, Chris S wrote:
I don't think this is the case. Consider my simple example below. None
of my classes inherit Persistent, and even though I set _p_changed =
1, nothing's persisted.
In your example, it seems like
On Jul 13, 2006, at 1:35 PM, Chris S wrote:
On 7/13/06, David Binger [EMAIL PROTECTED] wrote:
On Jul 13, 2006, at 12:55 PM, Chris S wrote:
I don't think this is the case. Consider my simple example
below. None
of my classes inherit Persistent, and even though I set
_p_changed =
1,
On 7/13/06, David Binger [EMAIL PROTECTED] wrote:
On Jul 13, 2006, at 1:35 PM, Chris S wrote:
On 7/13/06, David Binger [EMAIL PROTECTED] wrote:
On Jul 13, 2006, at 12:55 PM, Chris S wrote:
I don't think this is the case. Consider my simple example
below. None
of my classes inherit
On Jul 13, 2006, at 3:55 PM, Chris S wrote:
Uh, calling root.get(name, obj) assigns obj to the root if the name is
not yet defined. And of course I'm not assigning to any other
Persistent instances, since the point of the code was to show that
Zope can't persist objects that don't inherit the
Chris == Chris S [EMAIL PROTECTED] writes:
Chris Uh, calling root.get(name, obj) assigns obj to the root if the name
Chris is not yet defined. And of course I'm not assigning to any other
Chris Persistent instances, since the point of the code was to show that
Chris Zope can't persist objects
David Binger wrote:
On Jul 13, 2006, at 12:55 PM, Chris S wrote:
You can always persist (almost) any object, even if it does not subclass
from Persistent. However, any changes to the object will not be detected
automatically and you would have to either a) reassign the object to the
ZODB or
On Thu, Jul 13, 2006 at 03:55:53PM -0400, Chris S wrote:
not yet defined. And of course I'm not assigning to any other
Persistent instances, since the point of the code was to show that
Zope can't persist objects that don't inherit the Persistent class.
It can, but:
- non-Persistent objects
On 7/13/06, David Binger [EMAIL PROTECTED] wrote:
On Jul 13, 2006, at 3:55 PM, Chris S wrote:
Uh, calling root.get(name, obj) assigns obj to the root if the name is
not yet defined. And of course I'm not assigning to any other
Persistent instances, since the point of the code was to show
Christian Theune wrote at 2006-7-13 17:13 +0200:
...
Is there any ability in ZODB to retroactively wrap objects in a
persistence mechanism instead of having to rewrite an entire library
to use the Persistent class?
You can always persist (almost) any object, even if it does not subclass
from
Chris Withers wrote:
Tres Seaver wrote:
Zope Corporation's Zope Replication Services products operates along
those lines:
http://www.zope.com/products/zope_replication_services.html
Yeah, but you can only write to one of the storages, right?
Chris
The $10k price tag doesn't help either.
14 matches
Mail list logo