Simple Image-based Persistence
Based on the idea that
- most applications will not have to scale (i.e. become the next Twitter)
- simply saving the image is slow and error-prone.
For the full motivation and description, see Ramon Leon's blog post at
http://onsmalltalk.com/simple-image-based-persistence-in-squeak/.
I pretty much just packaged up the code from Ramon's blog, made some small refactorings, and confirmed it was MIT.
New in version 2.0
- Uses Fuel instead of ReferenceStream for the serialization
- Loads and tests passing in Pharo 1.4 and 2.0 (would probably work in Squeak, but depends on FileSystem)
Gofer new
url: '
http://ss3.gemstone.com/ss/SimplePersistence'; package: 'ConfigurationOfSimplePersistence';
load.
"load: 'ALL' = load the tests. If you don't want them, send #load"
(Smalltalk at: #ConfigurationOfSimplePersistence) project development load: 'ALL'.
Cheers,
Sean