[Seaside] Re: persistence for lazy people
Adrian Lienhard
adi at netstyle.ch
Tue Nov 29 00:01:57 CET 2005
something else that you might need are transaction semantics for
modifications of your data... with most DBs, you get this for "free".
Cheers,
Adrian
On Nov 28, 2005, at 22:35 , Chris Muller wrote:
>> 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
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the Seaside
mailing list