[Catalyst] Rails-like form helpers
Ash Berlin
ash at cpan.org
Wed Sep 20 18:58:06 CEST 2006
Jon Warbrick wrote:
> I've always admired the form helpers used by Rails (see [1]) - essentially
> helpers for use in templates for creating form controls that are linked to
> underlying model objects so that they can be pre-populated and so that the
> controls can be named to make subsequent update of the objects easy. It
> strikes me that something like this could be useful when creating forms
> that are more complex then solutions like HTMLWidget can conveniently cope
> with.
>
> Catalyst-Plugin-Params-Nested already provides support for something very
> like the Rails naming scheme, but I can't see anything that provides
> anything like the helpers themselves. Before I start creating something,
> probably as a DBIx::Class component, please can anyone tell me if I'm
> re-inventing the wheel?
>
> Jon.
>
> [1] http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#M000389
>
>
Maybe look at FormBuilder. (?)
Also suggest a situation that is "complex then solutions like HTMLWidget
can conveniently cope with" and I'll tell you if it is (or will be -
refactor is coming)
Ash Berlin
More information about the Catalyst
mailing list