[Dbix-class] DBIx::Class as an Object-Relational mapper

John Siracusa siracusa at mindspring.com
Wed Mar 15 20:49:49 CET 2006


On 3/15/06 2:12 PM, Brandon Black wrote:
> There are a lot of similarities between good relational database
> design and good OO design, but I think the foundation of any good
> application is a solid relational data model first; the code is a
> second-class citizen comparatively.
>
> An ORM (DBIx::Class or otherwise) is to me just a convenient OO
> interface for manipulating a relational database, rather than
> something that should try to "hide" the RDBMS in an seemingly-OO-like
> mask of smoke and mirrors.
> 
> That's just my personal opinion though, and I'm probably in the
> minority in the world (and this list) right now.  :)

I think you're in the majority in both (and I agree with you, FWIW).  I can
see the attraction of the alternate approach, but it's certainly not as
well-understood as the one you describe.

-John





More information about the Dbix-class mailing list