[Pharo-project] SandstoneDb infos

laurent laffont laurent.laffont at gmail.com
Tue Apr 27 02:56:19 EDT 2010


Hi,

Ramon Leon brings some clarification on SandstoneDb, good to know:
(
http://pharocasts.blogspot.com/2010/04/sandstonedb-simple-activerecord-style.html?showComment=1272319582936#c2685266417753810697
 )


If you'd like to avoid restarting the image when you create subclasses, you
can just run

SDCheckPointer startUp: true.

This is what happens at image startup that ensures all the directories exist
and reloads the database.

Also, just FYI, you don't need to make all biz objects active records, had
the tweets just been an Object subclass, they would have been save with the
Person in the same file as the Person atomically. Of course, then the only
way to get the tweets would be through the person, since it'd be the
aggregate root for that aggregate object cluster.

Anyway, nice screencast.



Posted by Ramon Leon to Pharocasts <http://pharocasts.blogspot.com/> at
April 26, 2010 3:06 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20100427/ba008757/attachment-0001.html>


More information about the Pharo-dev mailing list