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