In a deployed app I like to lock up the image and use class ReferenceStream (which is, for once, nicely documented) to write/read app data, or any of the availabe XML packages, if the app data is intended to be also processed by other non-Squeak apps.
Felix Dorner wrote:
Hi,
I am thinking of how application data is best persisted in squeak apps. Probably I have problems in distinguishing the Squeak "platform" and my Application.
If I see my application as a part of squeak, then I guess there's no need for custom resource management - as soon as a user does "save.." all is saved automatically, including my app data (here its just a list of filenames).
Is that the intended way? Or is "Save..." intended for developing only? Gee squeak is really different.
Otherwise, I could do it all manually, persist my data to somehomedir/.myappdata
How can I get the current user home?
Thanks for your comments.
Felix _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners