[Newbies] ActiveRecord?

Ramon Leon ramon.leon at allresnet.com
Thu Apr 3 05:57:35 UTC 2008

> Sure, for simple stuff, one-class-is-one-table might make 
> sense, but pay attention to the other kinds of mapping 
> styles.  Lots of power in there.  It's how an ORM *should* be done.
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - 

Rails has made it pretty clear that *most* apps really are that simple since
it only supports direct mapping.  Glorp is absurdly powerful in its ability
to map objects to tables, *assuming* that mapping is the correct answer of
course.  As powerful as Glorp is, most people will end up spending a lot of
time wrestling with mappings, probably far more than they want.  Glorp is an
expert framework for experts, but those who don't grok mapping patterns in
general will be baffled by it.

Rob, if you don't need to scale too big, check out the SandstoneDb package
on SqueakSource, it should be familiar to anyone who likes ActiveRecord.

Ramon Leon

More information about the Beginners mailing list