Photo from Chile

Automagic Validations for ColdFusion Objects - CFUnited Slide Deck Available

As promised, the slide deck from my presentation at CFUnited about ValidateThis, a validation framework for ColdFusion, is now available. Download it in PDF format here. Here's a description of the session:

Automagic Validations for ColdFusion Objects

This session will provide an overview of, as well as a detailed how-to about a Validation framework for ColdFusion. The title is a slight misnomer, as, although the framework was originally written to work inside an object-oriented application, and remains an ideal solution for that, it has recently been enhanced to work with simple ColdFusion structures as well. This means that anyone who is looking for a better way of addressing their validation requirements, both on the client side and on the server side, can now benefit from the framework, even if they are not using objects.

The main benefit of the framework is that it will automatically generate all of your client-side and server-side validations for you, from a simple set of metadata. This frees you from the drudgery of writing similar validation code over and over again, and also eliminates the possibility of adding bugs into your application via your validation code. The framework, called ValidateThis, is being actively developed by myself and a number of other contributors, so not only is it extremely functional and flexible right now, but new features are being added continually. If you are interested in finding out more about it, including exactly how to implement it in a new or existing application (and it's dead easy), I encourage you to take a look at the material.

Where I'm Going to Be At CFUnited

I just finished updating my CFUnited schedule for next week's conference, now that all of the Saturday sessions are available. If you are going to be attending this year's conference, the organizers are requesting that you enter your schedule into the online scheduling app to help them determine room sizes for each session.

I must say I am very impressed with this year's lineup. I had no trouble finding sessions that were of great interest to me in practically every time slot, and the repeat sessions that take place on Satrurday are going to enable me to see virtually every session that I want. If you're interested to know which sessions I've chosen, see the table below, which was generated by the CFUnited scheduler app:

[More]

CFUnited is Almost Here - Learn about Validations and ORM

As I'm sure many of you are aware, the final CFUnited will be starting in a little over a week. Although I did attend a couple of CFUN's in the past (when they were a one-day event), this will be my first CFUnited, so I'm pretty excited about it. It will be great to meet even more people than I usually do at other conferences, such as cf.Objective() and NCDevCon, and I wanted to give a final plug to my sessions, as I think they will be of interest to a lot of developers. As well, I've made some last minute changes to both sessions to cover some new material.

What Your Mother Never Told You About CF9 ORM

The ColdFusion team at Adobe have done an outstanding job with ColdFusion ORM, which now provides ColdFusion developers with access to Hibernate, an enterprise-ready, open source, industry-standard Java ORM. The documentation on how to use CF ORM in the ColdFusion docs is also quite good, providing most of what you need to know to make use of the features. The problem, however, is that Hibernate is a pretty complex tool, and in order to use CF ORM successfully you really need to understand certain things about Hibernate. This session is designed to teach you some of those things - it will cover material that is not included in the ColdFusion documentation, but that is essential to understand when working with the ORM.

Topics covered will include Hibernate Session Management, Understanding Object States, Working with Detached Objects, Concurrency and Using a Base Persistent Object. We'll also be looking at the new Transaction Management model in the recently released ColdFusion 9.0.1. If you plan on working with CF ORM and are not already familiar with these concepts I think you'll really benefit from this session. It is, however, an advanced session, so if you are totally unfamiliar with CF ORM you may find it a bit confusing.

The session is scheduled for 5:30pm (ouch!) on Wednesday, July 28th.

Automagic Validations for ColdFusion Objects

This session will provide an overview of, as well as a detailed how-to about a Validation framework for ColdFusion. The title is a slight misnomer, as, although the framework was originally written to work inside an object-oriented application, and remains an ideal solution for that, it has recently been enhanced to work with simple ColdFusion structures as well. This means that anyone who is looking for a better way of addressing their validation requirements, both on the client side and on the server side, can now benefit from the framework, even if they are not using objects.

The main benefit of the framework is that it will automatically generate all of your client-side and server-side validations for you, from a simple set of metadata. This frees you from the drudgery of writing similar validation code over and over again, and also eliminates the possibility of adding bugs into your application via your validation code. The framework, called ValidateThis, is being actively developed by myself and a number of other contributors, so not only is it extremely functional and flexible right now, but new features are being added continually. If you are interested in finding out more about it, including exactly how to implement it in a new or existing application (and it's dead easy), I encourage you to attend my session. It will be held at 3:15pm on Friday, July 30th, and is being repeated at 2:45pm on Saturday, July 31st.

I hope to see you at one, or both, of my sessions. If we haven't met before please come by and say hi.

Two Important Deadlines for ColdFusion Developers

Update: The early-bird rate for the pre-conference training sessions, has been extended, as has the deadline for CFUnited voting!

Just wanted to post a quick reminder to folks of the following dates:

cf.Objective() Pre-Conference Early-Bird Extended!

The discounted early-bird rate for the cf.Objective() conference fee has expired, but the discounts on most of the pre-conference training sessions, has been extended. You can still save $200 off of Mark Mandel and my two-day hands-on workshop, Developing Applications with ColdFusion 9 Object Relational Mapping if you register soon. So what are you waiting for? Registration is done via the cf.Objective() web site.

And if ORM isn't your thing, there are a whole bunch of workshops from which to choose, most of which are offering discounts:

  • Building Secure CFML Applications (April 21) - Jason Dean and Pete Freitag
  • Coldbox:100 Training (April 21) - Luis Majano
  • Developing Applications with ColdFusion 9 Object Relational Mapping (ORM) (April 20-21) - Bob Silverberg and Mark Mandel
  • Getting Started with Flex and AIR Development with the Flex SDK (April 21) - John Mason
  • Mach-II and OOP from the Ground Up (April 20-21) - Kurt Weirsma, Peter Farrell and Matt Woodward
  • Rapid Development with Model-Glue 3 (April 20-21) - Dan Wilson and Ezra Parker

Voting for CFUnited Ends February 20th

The folks at CFUnited have given the ColdFusion community the opportunity to help choose which sessions will be included by voting on them. Unfortunately the window of opportunity is very small, with the vote closing on February 20th. So get out there and vote, and while you're there please consider voting for Marc Esher's sessions. He's an awesome speaker and no slouch in the brain department, and his proposed End-to-End Testing Roundtable will be a session not to miss.

Join me at CFUnited and Get a Discount, Now

I'm delighted to announce (quite late, I might add) that one of my topics has been chosen to be presented at CFUnited 2010 in July. I'll be speaking on Automagic Validations for ColdFusion Objects, which I summarized to the committee as:

Are you confused about where to put the validation logic in your object oriented application? Are you tired of writing one set of validations for the server side and another set for the client side? Are you looking for a way to encapsulate your validation logic, so your business objects do not have to change each time your validation rules change? If you answered yes to any of those questions, then this is the session for you. In this session you will learn about an open source project that delivers all of the above, and is easy to integrate into any project. You define your business rules in a simple XML file and the framework will automagically perform all of your server side validations and generate all of your client side validations. What's more, the framework is flexible and extensible enough to allow you to define an unlimited number of custom validation types and messages, all without touching any of the framework's or your own code. You'll leave the session with an understanding of what the framework can do for you, as well as how to implement it into a new or existing application. This framework is meant to be used in an application that makes use of objects. This would include ones that use Transfer, Reactor, hand-coded beans/DAOs, and, of course, ColdFusion 9's ORM.

If you're thinking about attending, you might want to register this week, as the Early Bird pricing ends this Friday.

I look forward to catching up with friends and colleagues at the conference, and hope to meet some new folks as well. Perhaps I'll see you there?