[Catalyst] HTML Widget vs Templates?
Dave Hodgkinson
davehodg at gmail.com
Thu Apr 13 16:56:24 CEST 2006
On 13 Apr 2006, at 15:16, Yuval Kogman wrote:
> On Thu, Apr 13, 2006 at 11:02:01 -0400, Ryan wrote:
>> I currently use web forms for a lot for back-end apps so I'm making
>> template after template for the web forms. I read about the HTML
>> Widget
>> module and thought about using this but it almost seems like more
>> work
>> just to create a simple form. What are the benefits of this, any
>> opinions on this?
>
> the declaration of the form and the validation of the form need only
> be told the structure of the form once, together.
Same with TT - define the form once.
>
> Furthermore, when you have validation errors you don't need to code
> the TT loop to print them correctly, which is usually a royal pain
> in the lower backside.
Again, using TT to define widgets, this only need be done once inside
each macro.
Not arguing, just pointing out the possible.
I'm currently using HTML::Widget but struggling with styling.
--
Dave Hodgkinson - Music photography
http://www.hodgkinson.org/
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
More information about the Catalyst
mailing list