[Catalyst] Hats off and some Clarifications.

Matt S Trout dbix-class at trout.me.uk
Tue May 8 12:38:34 GMT 2007


On Fri, Apr 20, 2007 at 11:30:22PM -0700, Nathaniel Nuss wrote:
> On Thu, Apr 19, 2007 at 01:58:08AM +1000, Kieren Diment wrote:
> > On 19/04/07, Dister Kemp <dister.kemp at gmail.com> wrote:
> > >
> > >
> > >claims that it does automatic generation of HTML forms and other
> > >Database scripts. (to an extent). They call it scaffolding.
> > >
> > >Is this possible with Catalyst? If so to what extent and how?
> > 
> > [...], Catalyst::Controller::FormBuilder is highly rated by many
> > at the moment.
> 
> I see that FormBuilder (and C:C:FB) primarily ease the creation, (request)
> maintanence and validation of forms.
> 
> Unless I've missed something C:C:FB won't do automatic form generation. By
> that I mean you are not able to provide a database table and have a form
> automatically generated from it or expect a submission from the user to be
> automagically sent to the database. You have to make that glue yourself.

But said glue is half a dozen lines, in the simplest case, and once it gets
more complex than that it usually ceases to be generalisable.

Ruby on Rails experts all warn against using any form of automation for this
as well - for once they and we agree, and when that happens it's usually a
good hint the answer is correct :)

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
Shadowcat Systems Ltd.   Contact mst (at) shadowcatsystems.co.uk for a quote
                                          http://www.shadowcatsystems.co.uk/ 



More information about the Catalyst mailing list