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

Phil Mitchell phil at 2people.org
Fri Dec 2 18:09:22 CET 2005

On 12/1/05, Sam Vilain <sam at vilain.net> wrote:
>  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.

Cool! I need to look at this more ... polymorphism is exactly what i'm
wishing for in cdbi.

>  Sam.
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst

2People Blog: http://2-people.blogspot.com/
2People site: http://www.2people.org

More information about the Catalyst mailing list