Login

    Register

PROJECT CATEGORIES

 

validatorCFC
Project Home Blog Forums Known Issues Contact Project

Author: Sean Coyne (All RIAForge projects by this author)
Last Updated: August 3, 2009 12:55 PM
Version: 0.3
Views: 14,623
Downloads: 421
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:

Requirements:

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

Issue Tracker:

Subversion Access:

You may access this project's Subversion repository with your client here: http://svn.riaforge.org/validatorCFC.

To view files and changelists associated with this repository, go here: http://validatorCFC.riaforge.org/index.cfm?event=page.svnbrowse.

You may download the latest set of files from Subversion as a zip file.

Anonymous users have read access to the repository while the administrator has write access.

This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/