[Catalyst] Ask Catalyst: What are your prefered DB and
HTML abstraction layers ?
Alexandre Jousset
mid at gtmp.org
Thu Jul 12 12:32:36 GMT 2007
Matt S Trout a écrit :
[...]
> (1) Will it be more work to get your RHTMLO<->DBIC integration going than
> it would be to port to RDBO and get RHTMLO<->RDBO integration going?
For the moment there is not a lot of code, so it could be easy to port
the application to Rose.
> (2) Do you need any of the features DBIC provides that RDBO doesn't? (resultset
> chaining and support for GROUP BY/HAVING being the obvious candidates)
I don't know exactly what "resultset chaining" is. I'll take a look at
the doc to decide.
> Equally, (2) can be flipped, asking whether the features RDBO provides that
> DBIC doesn't (which I'm obviously not as clear on the list of :) are worth
> the effort of porting.
I'll also take a look at the doc for that.
> In the long term I personally don't see RHTMLO remaining the state of the
> art in terms of form generation, but equally I do see it being the closest
Why do you say that ? Are there elements you know that make you think
that ?
> to "good enough" of the currently available options so perhaps you won't need
> to switch even when a better solution becomes available.
Ok.
> RDBO is a very well-engineered project, and while it has a more measured
> development pace than DBIx::Class that does result in it being a bit more
> polished in places and the documentation is excellent.
This is why I thought porting my app to it :-)
> So ... I don't really have a straight answer for you. I know of quite a few
> devs who've gone both routes and been happy with it, and I can't really say
> whether one route is "better" or not - I think what I'd do is create a quick
> one-table test app using Catalyst::Controller::Rose, and port one of your
> current DBIC+FB controllers to DBIC+RHTMLO, and then decide at that point
> which approach you like better.
Thank you very much for your answer Matt.
--
\^/
-/ O \----------------------------------------
| |/ \| Alexandre (Midnite) Jousset |
-|___|----------------------------------------
More information about the Catalyst
mailing list