Photo from Chile

An Object Oriented Approach to Validations - Recording Available

I'm happy to announce that the presentation that I delivered to the Online ColdFusion Meetup last night, entitled An Object Oriented Approach to Validations, was recorded and is therefore available to anyone who is interested and wasn't able to attend in person.

Towards the end of the presentation I listed some resources that exist for ValidateThis!, which is the framework that I created using the approach that I described. Those are:

This presentation was very much about why I created VT and how I designed it. It didn't really address questions of how one uses the framework or how to integrate it into an existing application. I have blogged about that extensively in the past, but I also plan on putting together a new presentation addressing those issues, which I hope to present to the meetup group in the future.

I'd like to thank everyone for attending and for all of the wonderful feedback, and I'd also like to thank Charlie Arehart for allowing me to speak and for continuing to operate this amazing resource.

Presenting An Object Oriented Approach to Validations to the Online ColdFusion Meetup

Just a quick note to announce that I'm going to be presenting my session from cf.Objective() to the Online ColdFusion Meetup this Thursday, June 18th, at 6:00pm EDT.

Details can be found at the Meetup site. You can attend the presentation via Connect on Thursday. The session will be recorded and made available.

Here is the abstract for the presentation:

Performing validations on user input is something that all of us, as application developers, must do. When moving from a procedural to an object oriented approach many developers have difficulty determining how and where to perform validations. In this session you will be introduced to an object oriented approach to validations. This approach enables you to add validation "smarts" into your business objects, while keeping that logic fully encapsulated outside of the objects, meaning that any changes to your validation rules and/or logic will have zero impact on the rest of your model. We'll look at the individual objects that comprise this approach, and understand how they work together to automatically perform server-side and generate client-side validations using metadata from a simple xml file. You will leave the session with a better understanding of how to design using objects, as well as a tool that will greatly simplify the task of adding validations to your object oriented application.

This session is aimed at intermediate to advanced developers who are familiar with object oriented concepts and are interested in learning about how to incorporate validations into their objects, as well as object oriented design in general.

Hope to see some of you there.

ValidateThis! 0.75 - Now Supports Internationalization (i18n)

A developer named Mischa Sameli asked a question about supporting internationalization (i18n) in ValidateThis!, my validation framework for ColdFusion objects, on the ValidateThis Google Group a few weeks ago. His questions got me thinking about how I might do that, and those thoughts turned into design ideas, which turned into code. So I'm happy to announce that the latest version of VT, just released to RIAForge, has full support for i18n. I have created a new i18n demo which shows off this new feature in all of its glory. If you visit that demo page you'll see that you can switch languages between English and French.

So, what does i18n support in VT mean? In a nutshell, it means that all validation failure messages, both on the client side and on the server side, can now appear in multiple languages within a single application. A developer still only has to specify the metadata for each validation rule once (which is the primary objective of the framework), with the translations being performed by a translation layer.

[More]

An Object Oriented Approach to Validations - Presentation Materials Available

The slides from my cf.Objective() presentation, An Object Oriented Approach to Validations, are now available. Click on the link below to download them. I have also uploaded my presentation to SlideSix.

Here is the abstract for the presentation:

Performing validations on user input is something that all of us, as application developers, must do. When moving from a procedural to an object oriented approach many developers have difficulty determining how and where to perform validations. In this session you will be introduced to an object oriented approach to validations. This approach enables you to add validation "smarts" into your business objects, while keeping that logic fully encapsulated outside of the objects, meaning that any changes to your validation rules and/or logic will have zero impact on the rest of your model. We'll look at the individual objects that comprise this approach, and understand how they work together to automatically perform server-side and generate client-side validations using metadata from a simple xml file. You will leave the session with a better understanding of how to design using objects, as well as a tool that will greatly simplify the task of adding validations to your object oriented application.

This session is aimed at intermediate to advanced developers who are familiar with object oriented concepts and are interested in learning about how to incorporate validations into their objects, as well as object oriented design in general.

If anyone is interested in having me deliver this presentation to a ColdFusion User Group via connect please feel free to leave me a comment, or send me an email.

Attachments:

Want to Chat About ValidateThis at cf.Objective()?

I've spoken to a few people at cf.Objective who would like to hear a bit more about ValidateThis (my validation framework for ColdFusion objects), but who cannot come to my presentation on Saturday afternoon.

If you're here, and you'd like to chat, or hear more about it, leave a comment, send me an email, or tweet me @elegant_chaos, and I'll try to find some time for an informal get together.

BTW, cf.Objective() is awesome. Great to meet so many people and see old friends!

Getting Started with VT - Enabling Client-Side Validations

In the previous post in this series about getting started with ValidateThis!, my validation framework for ColdFusion objects, we looked at how to very quickly get up and running with the framework, and how to use it to perform server-side validations for our objects. In this post we'll look at enabling client-side validations for those same business rules.

VT is designed to generate both server-side and client-side validations from a single set of business rules, so we don't have to do any additional coding for the validations themselves, all we have to do it a bit of set up, and then ask the framework for the JavaScript. Let's start with the set up.

[More]

Getting Started with VT - Redux - with or without Transfer

Now that I've made ValidateThis!, my validation framework for ColdFusion objects, really easy to integrate into an existing application, I'm starting a new series about Getting Started with VT. The information covered is applicable regardless of whether you are using Transfer or not. In this first post I'm going to cover setting up VT using the new ValidateThis.cfc service object, creating a couple of validation rules, and implementing server-side validations for those rules. This is kind of a redux of the first few posts in my getting Started with VT and Transfer series, so I will be covering some familiar ground.

OK, let's get started.

[More]

More Entries