It was fun to see all the discussion on validation lately. I was busy trying to get my version of server-side CFC based data validation out the door. This is the validator I demo at the last ACFUG meeting and it's called Thor. It can be downloaded from http://labs.fusionlink.com/katapult/index.cfm?page=projects/thor

For those who missed the meeting or didn't know about the project, Thor is a ColdFusion component (CFC) based validator that has a variety of features:

- Explicit / Implicit Validations
- Global Validation
- Specific and general error codes and flexibility to do internationalization
- Field name mapping
- Validator/mapping/error code importing by CFC or XML
- Validator list reporting
- Fields not required option
- On-the-fly validation
- Logging

The docs I included with the project pretty much goes over everything and there are examples as well. This is the first public release so feel free to send me comments or questions. The idea of Thor is to make server side validation stronger and yet easier to manage and maintain. As an example, there is included with the project a pretty extensive library for postal codes and phone numbers which takes a lot of the guess work out of those items.

An important note is that Thor doesn't directly deal with SQL injection or XSS attacks, there is another project I maintain that does help with those attack vectors called Portcullis and it's at http://labs.fusionlink.com/katapult/index.cfm?page=projects/portcullis

John Mason
[email protected]
blog: codfusion.com




-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to