in reply to Need help separating logic from display

In case you haven't, you may want to try Formbuilder. It works well with H::Template, and with this you can prepopulate a form from a database query.
  • Comment on Re: Need help separating logic from display

Replies are listed 'Best First'.
Re^2: Need help separating logic from display
by srdst13 (Pilgrim) on Mar 13, 2005 at 15:43 UTC
    I would second this vote. FormBuilder does a great deal of the form creation, validation, and parameter handling pretty much automagically and integrates seemlessly with mod_perl and CGI::Application. Params are sticky, but that behavior can be easily modified. As a bonus, it even creates javascript validation code, which you are free to use or not; validation also occurs on the server side. As for templating (View from Controller and model), it can generate HTML on its own or be used with any of the big-three (H::T, TT2, or Template) templating systems.