[Pharo-project] Object serialization in Pharo

Simon Denier Simon.Denier at inria.fr
Tue Sep 15 10:49:06 EDT 2009


On 15 sept. 09, at 16:08, Chris Muller wrote:

> "Ma object serialization" was designed for this purpose.  You simply
> override #maTransientVariables to answer an array of the variable
> names that are transient.  That part of the graph will not be
> traversed during serialization and nil will be stored in its place.

OK thanks, the wiki offering the doc is down for the moment, but the  
seaside book offers a few hints about the subject.

>
>
>
> On Tue, Sep 15, 2009 at 8:31 AM, Simon Denier  
> <Simon.Denier at inria.fr> wrote:
>> Hi folks
>>
>> I'm looking at the code and comments of ReferenceStream for object
>> serialization and I wonder what is the best strategy to serialize a
>> partial model. I mean, I want to store all elements found while
>> traversing the graph of the model, but I dont want to store some
>> attributes of those elements (i.e., transient attributes).
>>
>> Any sample?
>>
>> --
>>  Simon
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
  Simon







More information about the Pharo-dev mailing list