[Seaside] ESUG SummerTalk - Fuel, binary object serializer

Mariano Martinez Peck marianopeck at gmail.com
Wed Jun 1 20:44:05 UTC 2011


>
>
>>
>> I am sure there are cases where a serializer could be used to
>> implement #=, but I have so far not seen it used.
>>
>> I am looking at using Riak ( http://wiki.basho.com/ ) with Pharo. When
>> storing a “business object” you  have two choices:
>>
>> -       Store a binary BLOB representing your object graph.
>> -       Store the object graph as JSON data.
>>
>> The last option essentially means you must do something similar to OR
>> mapping, so I would prefer the first option. With Riak, you will soon
>> be able to store additional indexed properties, which you later will
>> be able to query. So you store your whole business object as a BLOB,
>> together with those properties you need to query.
>>
>
> Ok, I understand. So, we can provide something like this API:
>
> byteArray := FLSerializer serializeInMemory: myObject
>
> And
>
> myRecoveredObject := FLMaterializer materializeFromByteArray: aByteArray
>
> would something like that help ?
>
>


New Fuel version 1.4 supports this.
Read the blog post:
http://rmod.lille.inria.fr/web/pier/software/Fuel/FuelNews2/2011-06-01

Cheers


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


More information about the seaside mailing list