Advanced ColdFusion 9 Training: Components, Error Handling & Complex Objects

In this 2 day 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.

Goals

  • Learn to create and use complex data objects.
  • Learn to write <cfscript> code.
  • Learn to build and use Custom Tags.
  • Learn to build and use ColdFusion Components (CFCs).
  • Learn to handle errors properly.
  • Learn to page through recordsets.
  • Learn advanced form validation with regular expressions.

Outline

  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

To Hire an AMS ColdFusion Subject Matter Expert and Instructor who also teaches this class, call 800-798-3901 today!

Leave a Reply