[Seaside] Re: [Pharo-users] Seaside and Fuel

Mariano Martinez Peck marianopeck at gmail.com
Wed Nov 16 15:50:38 UTC 2011


On Wed, Nov 16, 2011 at 12:40 PM, Paul DeBruicker <pdebruic at gmail.com>wrote:

> You can use Fuel as the serializer/materializer for the Simple Image Based
> Persistence scheme described here:
> http://onsmalltalk.com/simple-**image-based-persistence-in-**squeak/<http://onsmalltalk.com/simple-image-based-persistence-in-squeak/>
>
>
> and implemented here:
> http://www.squeaksource.com/**SimplePersistence.html<http://www.squeaksource.com/SimplePersistence.html>
>
> Just subclass SPFileDatabase and override
>
> SPFileDatabase class>>#saveRepository and SPFileDatabase
> class>>#lastBackup to use Fuel rather than the ReferenceStream
>
>
> You'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.
>
>
> I've attached a mcz file with a subclass that uses Fuel but you'll need to
> load the package on squeaksource as well first
>
>
>

That's nice. Do you know if it is working well ?  If so, I can add a link
to it from Fuel's website.
Sean, do you think it is worth it to commit such code into a separate
package 'SimplePersistenceFuel' ?  the repo is global read...

thanks!



>
>
>
> On 11-11-16 06:04 AM, Mariano Martinez Peck wrote:
>
>>
>>
>> On Wed, Nov 16, 2011 at 3:07 AM, Francois Stephany
>> <tulipe.moutarde at gmail.com <mailto:tulipe.moutarde at gmail.**com<tulipe.moutarde at gmail.com>>>
>> wrote:
>>
>>    Hi Jeff,
>>    Or you can regularly serialize and save your data (every
>>    hour/day/whatever).
>>
>>
>>
>> Yes, this is something you can do for example with Pier. You can choose
>> how much regulary to save the data. In addition, it lets you choose how
>> many saves. Say you want max 3, then if there is a 4 save, it removes
>> the oldest one.  So you always have the last 3 saves.
>>
>> I'cced the seaside mailing list which may have better ideas.
>>
>> Cheers
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.**com <http://marianopeck.wordpress.com>
>>
>>
>>
>> ______________________________**_________________
>> seaside mailing list
>> seaside at lists.**squeakfoundation.org <seaside at lists.squeakfoundation.org>
>> http://lists.squeakfoundation.**org/cgi-bin/mailman/listinfo/**seaside<http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>
>>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111116/4e817261/attachment.htm


More information about the seaside mailing list