HI graham there are different ways to do that. you can use - a XMLWriter (See XMLSupport) - a binary object serializer (there smartref stream in the image but I sugest you to have a look at Fuel) - you can use storeOn: and readFromStream: (here the idea is that objects produce a texte representation of themslevs that when read using readFrom: recreate the object itself Stef On Sep 3, 2011, at 2:54 PM, graham telfer wrote:
Hi there,
I completed the Bank Account tutorial written for Squeak. It worked fine but I have a question about persistence of data. After I built the bank account and gave it a balance history I saved and quit. Later I wanted to go back to it. The account and its details were gone and I could only create a new account.
How is data saved across sessions in Pharo?