Thor - a different kind of CFC validator
Version: 1.0.5
Author: John Mason (blog:
Release Date: 3/3/2009
Last Update: 6/10/2009
License: MIT

Thor is a ColdFusion Component (CFC) based data validator. If you are looking into ColdFusion based validator solutions, you have probably found quite a few. ThorĀ  offers several unique features that differentiate it from other validators.

Explicit / Implicit Validations
Global Validation
Handle Server and client side validation with one set of validator libraries
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

Validation is a critical function of any application, but it also can be difficult to manage and maintain. Thor was developed to make the process of data validation easier. It is very easy to use and incorporate in your existing projects. Thor is framework agnostic and is a free and open source project under a MIT license. There is no underlining database system; to use Thor, you just need the core CFC and some library files. You can download and find updates to Thor from or

The zip contains:
- Core Thor.cfc component
- XML and CFC based libraries
- Several example files
- Documentation on how to use the Thor validator

Supported on:
ColdFusion 9
ColdFusion 8
ColdFusion 7

jQuery is optional if you need Thor to also handle client-side validation.

Thor has not been tested on BlueDragon or Railo but it should work there as well. Just let me know if you see any problems with those platforms.

You can use Thor with Coldspring, Lightwire or without any dependency injection framework. It is framework agnostic.