[Catalyst] question from tutorial - does creating HTML in acontroller using HTML::Widget violate MVC?

Alejandro Imass alejandro.imass at gmail.com
Wed Dec 6 18:21:09 GMT 2006

I'm just a newbie like you in Catalyst but I think that HTML::Widget
is probably good enough for most simple (and perhaps not so simple)
CRUD screens that are usually a pain after you finish your main app. I
usually leave the admin apps for last and HTML::Widget saved my
particular day so even if the original author recommends not using it,
I would recommend that you try it and if it's good for you leave it at
that. If something better comes along, learn it and use it. The
important thing is to get the job done and HTML::Widget does that,
IMHO it's not at all as broken as some have stated here.

On 12/6/06, Hermida, Leandro <Leandro.Hermida at fmi.ch> wrote:
> >
> > > On Wed, 6 Dec 2006, Matt S Trout wrote:
> > >
> > > > I wouldn't use HTML::Widget at all. The people who took over maint
> > > > after sebastian gave up on it have struggled valiantly to make it
> > > > useful and production quality and so far as I'm concerned
> > > > failed. Not one of his better experiments :)
> > >
> > > So what's considered best practice in this area, is it still
> > > Data::FormValidator or should we be looking at something else ?
> >
> > I hate that, the ::Simple variety and CGI::FormBuilder least
> > out of the current CPAN-able options.
> >
> Sorry my lack of English understanding today - but does the
> above mean that Data::FormValidator, Data::FormValidator::Simple
> and CGI::FormBuilder are NOT good choices?  What do experienced
> Catalyst users think are the best CPAN choices for:
> 1) Form validation and processing
> 2) Form building
> I guess it should be noted that if HTML::Widget shouldn't be used
> in the ways that it was in the tutorial than it should be completely
> replaced with the CPAN module that most Catalyst users think
> should be there.
> Thanks in advance,
> Leandro
> _______________________________________________
> List: Catalyst at 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/

More information about the Catalyst mailing list