[Newbies] Application data management

Jens Moenig jens at moenig.org
Thu Jul 10 09:52:01 UTC 2008


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 at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> 
> 

-- 
View this message in context: http://www.nabble.com/Application-data-management-tp18377853p18379444.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.



More information about the Beginners mailing list