Monday, 2 November 2015

A first use of Fuel

Fuel serialises object data, and stores them to files.

FLSerializer serialize: aPerson toFileNamed: 'person.sto'. 


To retrieve them,
person2 := FLMaterializer materializeFromFileNamed: 'person.sto'.


By default, with Seaside 3.1 on Pharo 4.0, the files are stored to and retrieved from ~/<Seaside3>/ContentsResources






No comments:

Post a Comment