Adam Bartosik wrote:
I'm considering trying to port Ruby's ActiveRecord to Perl
as a lightweight ORM option (with some small changes
maybe, like composite PKs). If anyone's interested, toss
me a message privately and we'll coordinate.

What I found missing in DBIx::Class is AR method find_by_sql(sql).
We use catalyst&dbix for months (kind of data-warehouse project), but rewriting complex, read-only SQL statements to dbix/perl notation is for me a waste of time (when editing & updating tables with ORM is so fast to code and intuitive).

However is it worth to build just-another-orm for perl when DBIx::Class is not so far to be really good one?

Maybe not. Or maybe we could write a wrapper to give more of an AR
interface.

I'm currently trying to decide on Catalyst or Rails for a new project.
I like the flexibility of Catalyst (and love Perl), but I'm attracted to
a lot of the design decisions in Rails (I like the fact, for example,
that ActiveRecord::Validations supports data validation in the model,
just like we were discussing in a previous thread).

So part of me would like to see a more Rails-like layer on top of
Catalyst.

Maurice

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to