[Catalyst] DBIC and RDBO compared (was: Choosing the right ORM)

Sam Vilain sam at vilain.net
Thu Dec 1 22:11:09 CET 2005


On Thu, 2005-12-01 at 08:59 -0800, Phil Mitchell wrote:
> Thanks for this great overview! You don't mention anything wrt
> inheritance of model classes -- probably it's too obvious to mention.
> But as someone w/o a lot of ORM experience, I'm wondering how these
> handle situations outside the one class/one table model --
> specifically, where you have an inheritance tree that's all based on
> the same table, and where there's a signficant amount of implicit
> self-joins. I do this now in CDBI using has_a/has_many, but have run
> into as-yet-unexplained breakdown of inheritance of triggers and such,
> which I solve with ugly workarounds.

This is a basic premise of Tangram; see Tangram::Relational::Mappings
for more information.  "Triggers" are not in the model; instead you just
give your objects custom behaviour - and then Perl side inheritance
works itself out.

Sam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20051202/f1bba437/attachment.htm


More information about the Catalyst mailing list