"John Lawton" <[EMAIL PROTECTED]>

> While this may be peripheral to CGI::Application, I'd like to get some
> feedback on what others are using for form validation. I am particularly
> interested in documented (tested) packages, as opposed to homegrown, ad
> hoc solutions. (With all due respect to the hackers out there)
>
> I have taken a look at Data::FormValidator. This module makes it
> possible to describe the required/optional parameters, dependencies,
> filters, and constraints in a separate file (metafile).

yes, but it doesn't *need* to be in in a separate file.  i prefer to define
the big hashref of filters, dependencies and constraints right there in the
same module file...

> ... I like the
> approach this module takes, from my experience as a programmer, it seems
> like this module is comprehensive. However, I am still wondering if
> CGI::Application people are using any other interesting modules for this
> purpose?

i like it too.  i just used it for the first time in a CGI::App, and it
worked out well.  i guess i previously fell into the category of "hacker
using homegrown ad-hoc solution" :-)  in fact i was toying with the idea of
publishing my own validation code as a module, which actually used a big
hashref of rules fairly similar to DF:V's input_profile specification, but
when i found D::FV, i decided to try using it instead and am pretty happy
with it so far.

so you can put me down me as using D::FV, and not knowing of any other
documented (tested) packages for this particular purpose.

-dave


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@lists.vm.com/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to