Advanced ColdFusion Training: Session 5


Combining Adobe's fifth and sixth modules, we we looked at an often overlooked, but important need for any application, the Exception Handling Framework – how your applications handles the unexpected, including bugs, system issues, and invalid user responses. We looked at ways of handling errors on the server level, application level, and on the page level, and utilizing ColdFusion's build in cftry, cfcatch, cfthrow, and cflog tags to build a robust exception system, couples with the onError() and onMissingTemplate() functions. We then looked at custom tags for code and content reuse, and discussed their place in the “modern” ColdFusion application. This session wrapped up with a very quick look at basic .Net integration and on creating and utilizing web services. This session was first conducted on August 27, 2009 and took 2.5 hours.

Table of Contents:

Part 1: Error Handling in ColdFusion

  • The Site-wide Error Handler
  • Application-Wide Error Handling
  • Missing File Errors
  • Page Level Error Handling With CFTRY/CFCATCH
  • Your Exception Handling Framework and

Part 2: Code and Content Reuse With Custom Tags

  • Creating
  • Ways of Calling
  • Start/End Notation and Nested Tags

Part 3: .Net Integration

Part 4: Web Services

  • Calling a web service

Best Practices and Reminders

Applying What We Learned

Download the 25 page PDF

Ye ol' disclaimer: These sessions are not exact copies of the Adobe materials. I sometimes combine their units, and I removed all “homework” and the Dreamweaver dependent stuff. I also often reorder the content order, and rewrite large chunks, adding in my own materials and research where I feel necessary/relevant. As such, any errors here are likely mine. I did, however, retain a few of their example images and some of their basic example code and queries (in which case, errors may also be theirs).