John Lenton
2004-06-18 13:52:00 UTC
Sender: John Lenton <***@martina.fsl.org.ar>
This patch adds a boolean property to the ZEditingContextSessioning
zope product that controls whether saveChanges is called upon session
destruction. Defaults to true (i.e., do saveChanges).
It's a very simple patch, but it does what we needed (building a web
application that needs to ensure atomicity of a complex object that is
created in multiple stages).
On the same front, we *might* be building a (very stupid) application
server---rather a Modeling server---for this, to enable simple
creation of multiple complex-object-that-is-created-in-multiple-stages.
I prototyped a readonly version in a night, and I think they liked
it :)
This patch adds a boolean property to the ZEditingContextSessioning
zope product that controls whether saveChanges is called upon session
destruction. Defaults to true (i.e., do saveChanges).
It's a very simple patch, but it does what we needed (building a web
application that needs to ensure atomicity of a complex object that is
created in multiple stages).
On the same front, we *might* be building a (very stupid) application
server---rather a Modeling server---for this, to enable simple
creation of multiple complex-object-that-is-created-in-multiple-stages.
I prototyped a readonly version in a night, and I think they liked
it :)
--
John Lenton (***@vialibre.org.ar) -- Random fortune:
Robar las ideas de una persona es plagio; robarlas de muchas es investigación.
-- Ley de Felson.
John Lenton (***@vialibre.org.ar) -- Random fortune:
Robar las ideas de una persona es plagio; robarlas de muchas es investigación.
-- Ley de Felson.