Re: patch that makes saveChanges optional on session destruction in zope
Sebastien Bigaret <[email protected]> 20 Jun 2004 17:38:29 +0200
| Newsgroups | gmane.comp.python.modeling |
|---|---|
| Message-ID | <[email protected]> |
Hi John & all,
John Lenton <[email protected]> wrote:
> 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).
Thanks for the patch, it will be integrated into the next release.
Before releasing we'll need to update the documentation at
ZECSessioning/README and MDL/doc/UserGuide/FrameworkTypicalUsage.tex.
Email me privately if by any chance you think you could find some time
for this this week.
> 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 :)
That would be great --a "very stupid" application would definitely be
better than no sample code at all ;)
-- Sébastien.
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND