Photo from Chile

ValidateThis 1.2 - Some Fixes and New processOn Feature

Just a quick note to announce the release of version 1.2 of ValidateThis, an awesome validation framework for ColdFusion. This version includes a new feature: processOn (described below), as well as some small fixes contributed by John Whish and Dustin Martin.

processOn

This is a feature that was requested by some users which allows you to define a rule which can be processed on either only the server side or only the client side. You do so by adding the processOn attribute to your rule entity and giving it a value of either server or client. The default value is both, so if you leave this attribute off (as all legacy definitions will) it has no effect and your validations are enforced on both the client and the server.

For those of you still not intimately familiar with the framework, here are some resources to help you out:

CFSelenium 1.8 - Improvements to waitFor Methods and Upgrade for Selenium 2.20

A new version of CFSelenium was released today which upgrades the bundled version of Selenium Server to version 2.20.0, and also includes improvements to the waitFor helper methods. Those improvements were contributed by Michael Wilson.

As always, the latest version is available via the CFSelenium RIAForge page and via the CFSelenium GitHub Project.The latter also includes a detailed Readme file which can help you get started using CFSelenium.

Many thanks to Michael for his contribution.

CFSelenium 1.7 - Upgrades for Selenium 2.16 and Firefox 9

A new version of CFSelenium was released today which upgrades the bundled version of Selenium Server to version 2.16.0, and also provides Firefox 9 (and above) compatibility for the bundled Firefox plugin.

As always, the latest version is available via the CFSelenium RIAForge page and via the CFSelenium GitHub Project.The latter also includes a detailed Readme file which can help you get started using CFSelenium.

ValidateThis 1.1 - User Contributed Fixes and Features

Just a quick note to announce the release of version 1.1 of ValidateThis, an awesome validation framework for ColdFusion. This version includes one new validation type, notRegex, which was contributed by John Whish, and a bunch of small fixes, contributed by Greg Moser.

For those of you reluctant to use a 1.0 version of anything, now that we've got 1.1 out the door you can grab it and give it a try! Here are some resources that will help you:

So what's stopping you? Go download the latest and greatest version of ValidateThis and take it for a spin!

ValidateThis 1.0 - A True Community Effort

I am pleased to announce that ValidateThis, an awesome validation framework for ColdFusion, has finally gone gold! That's right, version 1.0 of the validation framework that you've come to know and love is in the wild. While I'm proud of the framework, I'm even prouder of the number of developers who contributed to this release. In addition to me, the following people made a contribution:

Most of went into this release won't be noticeable to the developer, or at least won't affect the way you interact with the framework. Here's a quick summary of the changes in this release:

  • Upgraded to the latest version of the jQuery Validation plugin, which replaces jquery.validate.pack.js with jquery.validate.min.js. If you are loading this file yourself (as opposed to using a CDN, which the framework does by default), then you should replace that file.
  • The default generated failure messages are now identical on the client and server, and are based on information in a resource bundle. This means you can easily change the default generated failure messages if you wish, and the changes will be reflected on the client and the server.
  • Thanks to John Whish (who I have unilaterally appointed as client-side-czar for the framework) the Javascript that is generated has been greatly improved. Many of the changes that John made were based on suggestions from Dan Switzer.
  • You can now store your definition files in a folder structure that mirrors a dot-based naming scheme for components.
  • You can now instruct the framework to ignore missing properties in your objects, as opposed to throwing an exception if a property is missing.
  • A new config option has been added: vtFolder which you only need to use if the framework resides in a folder that isn't called ValidateThis and you are on a case-sensitive system.

The biggest change is the second one mentioned above: the default generated failure messages. If you are currently using the i18n capabilities of the framework this may affect you, so I suggest you read the i18n information available in the online documentation.

If you've been holding off checking out the framework until it reached version 1.0 (silly people), now's the time to get cracking. Here are some resources that will help you:

So what's stopping you? Go download the latest and greatest version of ValidateThis and take it for a spin!

cf.Objective() 2012 - Call For Speakers and Topic Suggestion Survey Now Open!

The Topic Suggestion Survey and the Call for Speakers for next year's cf.Objective() are both now officially open. For more details please check out the announcement at the cf.Objective() site, or if you're keen to get started, visit the Engage app right now to suggest and vote on topics or to propose to speak.

My Adobe ColdFusion Developer Week Session on ORM

I was very pleased that my CF Dev Week presentation was so well attended and received. I am attaching a PDF of the presentation materials to this post. Once the recording is available, you'll be able to find it at www.adobe.com/devnet/coldfusion/events.html.

More Entries