Programmatically save image, and also do it periodically
Zulq Alam
me at zulq.net
Sun Jan 13 17:45:12 UTC 2008
I think you could use image segments to save your domain objects. I
haven't used them but as I understand it you can persist a sub-graph of
objects to a file and load these into any image.
http://wiki.squeak.org/squeak/2316
http://wiki.squeak.org/squeak/1672
Regards,
Zulq.
itsme213 wrote:
> "Zulq Alam" <me at zulq.net> wrote in message news:4785F5C5.70200 at zulq.net...
>> Are you losing time recovering the image or the new code you have written?
>> Perhaps a periodic Monticello save would be more suitable.
>
> Thank you. I should separate my use cases:
>
> - Auto-Save of development source-code: should use a MC save, not image
> save. I will peer into this and try to figure how I might do it.
>
> - Save (non-development) state of image to serve as low-tech database for my
> application objects: image save.
>
> Am I on the right, and safe, track now?
>
> Sophie
>
>
>
>
>
More information about the Squeak-dev
mailing list
|