[Newbies] ActiveRecord?

Randal L. Schwartz merlyn at stonehenge.com
Thu Apr 3 04:37:54 UTC 2008


>>>>> "Rob" == Rob Rothwell <r.j.rothwell at gmail.com> writes:

Rob> Has anyone written anything like the ActiveRecord for Glorp?

Using something like ActiveRecord for Glorp would be like buying an airplane
just to taxi around the airport without ever lifting off the ground.

The big plus in Glorp that I'm seeing is that you can do more than
DirectMapping... you can describe tables on one side, model-objects on the
other, and then produce an almost arbitrary mapping between the two.

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. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


More information about the Beginners mailing list