Image-based persistence or something else?
William G. Davis
william_gordon_davis at yahoo.com
Fri Mar 17 01:45:23 UTC 2006
Hi.
I'm working on a project that's kind of text heavy.
The details aren't really important, but it's going to
have to store a decent amount of hypertext (perhaps as
much as 5-10 megs) somewhere.
Right now I have a class that stores objects for later
retrieval in several collections. The persistence is
achieved by making the class a Singleton; it stores an
instance of itself in a class variable and provides
access to the object with a class message (#instance).
Is this a bad system? Should I be using something
else? Will this cause too much of a headache when
upgrading Squeak or transferring data from one machine
to another?
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Squeak-dev
mailing list
|