<br><br><div class="gmail_quote">On Wed, Nov 16, 2011 at 12:40 PM, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com">pdebruic@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
You can use Fuel as the serializer/materializer for the Simple Image Based Persistence scheme described here:<br>
<a href="http://onsmalltalk.com/simple-image-based-persistence-in-squeak/" target="_blank">http://onsmalltalk.com/simple-<u></u>image-based-persistence-in-<u></u>squeak/</a><br>
<br>
<br>
and implemented here:<br>
<a href="http://www.squeaksource.com/SimplePersistence.html" target="_blank">http://www.squeaksource.com/<u></u>SimplePersistence.html</a><br>
<br>
Just subclass SPFileDatabase and override<br>
<br>
SPFileDatabase class&gt;&gt;#saveRepository and SPFileDatabase class&gt;&gt;#lastBackup to use Fuel rather than the ReferenceStream<br>
<br>
<br>
You&#39;ll need to specify what you want to save , when to save it, and how to restore it but the package above takes care of managing the backups.<br>
<br>
<br>
I&#39;ve attached a mcz file with a subclass that uses Fuel but you&#39;ll need to load the package on squeaksource as well first<div><br> 
<br></div></blockquote><div><br>That&#39;s nice. Do you know if it is working well ?  If so, I can add a link to it from Fuel&#39;s website.<br>Sean, do you think it is worth it to commit such code into a separate package &#39;SimplePersistenceFuel&#39; ?  the repo is global read...<br>
<br>thanks!<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
<br>
<br>
<br>
On 11-11-16 06:04 AM, Mariano Martinez Peck wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
On Wed, Nov 16, 2011 at 3:07 AM, Francois Stephany<br></div><div><div class="h5">
&lt;<a href="mailto:tulipe.moutarde@gmail.com" target="_blank">tulipe.moutarde@gmail.com</a> &lt;mailto:<a href="mailto:tulipe.moutarde@gmail.com" target="_blank">tulipe.moutarde@gmail.<u></u>com</a>&gt;&gt; wrote:<br>
<br>
    Hi Jeff,<br>
    Or you can regularly serialize and save your data (every<br>
    hour/day/whatever).<br>
<br>
<br>
<br>
Yes, this is something you can do for example with Pier. You can choose<br>
how much regulary to save the data. In addition, it lets you choose how<br>
many saves. Say you want max 3, then if there is a 4 save, it removes<br>
the oldest one.  So you always have the last 3 saves.<br>
<br>
I&#39;cced the seaside mailing list which may have better ideas.<br>
<br>
Cheers<br>
<br>
--<br>
Mariano<br>
<a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.<u></u>com</a><br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<u></u>org/cgi-bin/mailman/listinfo/<u></u>seaside</a><br>
</blockquote>
<br>
<br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>