Advanced ColdFusion Training: Components, Error Handling and Complex Objects


Request an offer for classroom delivery of this course

Register for a Live Web Conference Course

Course duration

Course Outline

In this advanced ColdFusion 9 training class, you will learn the many methods of reusing code (including <cfinclude>, custom tags and stored procedures). You will also learn how to predict and prevent errors in ColdFusion 9 so your users will never see ugly error pages. In addition, you will learn to use Regular Expressions to perform advanced form validation.

  1. Charting
    1. Course Introduction and <cfchart>
      1. Introduction
      2. Course Objectives
      3. Course Prerequisites
      4. Course Project
    2. Charting and Graphing Options
      1. Using <cfchart> vs. <cfchartseries>
      2. Caching Charts
  2. Complex Objects
    1. Manipulating Complex Data Objects (Lists, Arrays, Structures and Queries)
      1. Scalar Variables
      2. Lists
      3. Arrays
      4. Structures
    2. Looping with <cfloop>
      1. Syntax of <cfloop>
      2. Weeding Out the FIELDNAMES Variable
      3. Using <cfloop> for automatic query output
      4. Display Web-safe Colors using CFLOOP
    3. Queries of Queries
  3. Components
    1. CFCs - Building ColdFusion Components
      1. Benefits to using CFCs
      2. Creating Components
      3. Calling or Invoking Components
      4. Passing Arguments to Components
      5. The main CFML page
      6. Three Ways to Pass Arguments
      7. Where to save CFCs
      8. Self-documenting - View a Component directly in the browser
    2. Object-Oriented CFCs
      1. Object-Oriented Principles
      2. How does use of a CFC compare to other OO languages?
      3. Inheritance
      4. Access control
      5. Exposing CFCs as Web Services
  4. Application Framework
    1. Application Framework
      1. Automatic Includes: Application.cfm and onRequestEnd.cfm
      2. New Application Framework: Application.cfc
    2. Using Application Variables
  5. Error Handling
    1. Errors and Exceptions
      1. Standard Error Handling
      2. Application.cfm
    2. Structured Error Handling
      1. <cftry> and <cfcatch>
      2. Transactions with <cftransaction> and <cftry>
      3. Classic <cftransaction> example
  6. Reusing Code
    1. Reusing Code
      1. Limited Capabilities of <cfscript>
      2. Syntax Rules
      3. Reserved Words
      4. Looping with <cfscript>
      5. GetTickCount() - testing the speed of your code
    2. Custom Tags
      1. Where to store Custom Tags
      2. CALLER and ATTRIBUTE scopes
      3. Using <cfmodule>
    3. Stored Procedures
      1. Benefits of Stored Procedures
    4. Showing portions of a Recordset
      1. Paging through records
  7. Regular Expressions (optional)
    1. Advanced Validation with Regular Expressions (optional)
      1. Special Symbols for Matching Specific Characters
      2. Specify the number of occurrences
      3. Placement of the pattern
      4. POSIX Syntax
      5. Perl Syntax

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).

InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)

For an overall view of our offerings, please visit us at