[Catalyst] Alternatives to DBIx?
brainbuz at brainbuz.org
Sat Apr 17 14:59:01 GMT 2010
Thanks Lyle and Ovid for your responses, both SQL::DB and Fey::SQL look like
saner approaches, and I will take them both for a test drive. I also liked
the article Lyle referenced.
From: Lyle [mailto:webmaster at cosmicperl.com]
Sent: Saturday, April 17, 2010 9:36 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Alternatives to DBIx?
Personally I think DBIx::Class is the biggest load of crock out there.
It's much slower, awkward to use, time consuming to learn, and as soon
as you try to do some complicated queries you'll end up dropping it
anyway. ORMs simply cannot work in the long run:-
I found SQL::DB recently, which looks interesting to me, but haven't had
chance to work with it yet. It might be what you are looking for.
Given what you've described, perhaps you want to take a look at Fey::SQL:
The related Fey::ORM can be used with Catalyst:
John Karr wrote:
> I'm still learning Catalyst and find that I don't like DBIx. As a counter
> example I love Template Toolkit, for exactly the same reason I hate DBIx.
> With TT html is in html, while DBIx seperates the database from SQL, if I
> were capable of writing an ORM (which I am not) it would be much more like
> Template Toolkit. Also I'm primarily a sysadmin working on some volunteer
> programming projects while out of work, so even though it might well be
> worth coming to terms with DBIx if I did more development, crawling
> DBI seems a more efficient way for me to get working code written.
> The alternatives I've been able to discover are DBI and RoseDB. Is there
> case (given why I've already stated I dislike DBIx) for RoseDB, and are
> there any other alternatives that work well with Catalyst that I have not
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
List: Catalyst at lists.scsys.co.uk
Searchable archive: http://email@example.com/
Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst