[sf-perl] Favorite form validation modules?

Earl Ruby eruby at knowledgematters.net
Wed Jan 6 18:01:53 PST 2010


On Wed, Jan 6, 2010 at 3:29 PM, Michael Friedman
<friedman at highwire.stanford.edu> wrote:
> I guess I don't understand why "form validation" is something you'd want a special perl module for.

For all of my projects we do both Javascript validation (for the
reasons you stated) and server-side (to make sure that users don't try
anything sneaky -- like ask for data that they're not entitled to
see). Any validation done in Javascript can be bypassed, so it's nice
for users but insufficient for untrusted input. We also use database
constraints, but if those get hit from the UI then something is
broken. The server-side validation is also used for all back-end
processing, so the same validation happens regardless of whether the
input comes from the UI or some back-end process.

The stuff I'm using currently is all home-grown (not grown by me), and
I'd like to swap it out for standard CPAN modules, so I'm very
interested in hearing about what other people are using.

-- 
Earl Ruby
http://earlruby.org/


More information about the SanFrancisco-pm mailing list