Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

validatorCFC
Project Home Blog Wiki Known Issues External Project Link Contact Project

Author: Sean Coyne (All RIAForge projects by this author)
Last Updated: March 11, 2011 3:05 PM
Version: 0.3
Views: 29,420
Downloads: 1,347
License: Apache License, Version 2

Description:

This component validates the data in an object according to custom rules you set up. It is especially created to determine data validity for a data store (DBMS, etc) rather than for business rules, but you can set up your own complex rules. Some may be out of its scope, however.

I have included some sample rules that test various data types and common formats.

Your object to be validated must have getters for each property in the format getFirstName() where FirstName is a property, and must use cfproperty tags in order to indicate which rules should apply for each property. (I would like to allow this to be specified using an XML config file or a config bean in the future)

Inspired by this article: http://coldfusion.sys-con.com/read/370835.htm

Recent Blog Entries:

Last Update:

move source to GitHub

Requirements:

ColdFusion 7
A properly formed object to validate.
Pre-built or custom rules.

Issue Tracker:

This project has an external bug tracker. You can find it here:
https://github.com/seancoyne/validatorCFC/issues

Source Control Access:

This project hosts its source control at an external location:
git://github.com/seancoyne/validatorCFC.git