[Seaside] Re: persistence for lazy people

Chris Muller chris at funkyobjects.org
Mon Nov 28 22:35:12 CET 2005

> Is this a bad idea, or does it qualify as the simplest thing that
> could possible work?

If the total loss of all data is "bad" then just be sure you don't save over
the old image; e.g., you should save to a new name or otherwise be certain the
prior-saved image is backed-up and flushed before each resave, otherwise a
power-outage during the resave could render the image unlaunchable.

With that in place, the most work your users can lose due to a power-outage or
Squeak os-process kill is 10 minutes.  If this is fine, then it is probably the
simplest thing that can possibly work.

If not, using a real database will probably be simpler than attempting any
further remedy..

 - Chris

More information about the Seaside mailing list