Login  Register

Re: Easiest light weight cloud/web persistence for Pharo?

Posted by Pharo Smalltalk Users mailing list on Oct 06, 2020; 2:34pm
URL: https://forum.world.st/Easiest-light-weight-cloud-web-persistence-for-Pharo-tp5123027p5123059.html

jtuchel wrote
> Sigh. Forget about the idea that it will be easy to switch your
> persistence later....I am not commenting on SimplePersistence here, I
> don't even know what it
> does or doesn't.

Joachim,
Thanks for this interesting perspective. I've never had the (mis?!)fortune
of a project growing enough to force me to make those tough choices! For
SimplePersistence I will say that I view it as a way to *delay* making *any*
choices until you are forced to. It's really just a layer of sugar on top of
Fuel (it used to use the old school Squeak equivalent serialization
mechanism - I forget the name and that might still work). You tell it what
classes to serialize. Implement two methods for each class that get and set
the data, and then it saves the whole thing as one object graph.

Tim,
If you use SimplePersistence, please keep me posted about your experience.
I'm happy to help.

NB I have maintained and extended the library, but it is the work of Ramon
Leon



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html