
Advanced ColdFusion Training: Components, Error Handling and Complex Objects
Course Length:
Delivery Methods:
Next Live Class:Apr 22-23, 2021 10AM-5PM ET
Course Topics
- 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.
Available Delivery Methods
Public Class
Public expert-led online training from the convenience of your home, office or anywhere with an internet connection. Guaranteed to run .
Public expert-led online training from the convenience of your home, office or anywhere with an internet connection. Guaranteed to run .
Private Class
Private classes are delivered for groups at your offices or a location of your choice.
Private classes are delivered for groups at your offices or a location of your choice.
Course Overview
In this advanced ColdFusion 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 so your users will never see ugly error pages. In addition, you will learn to use Regular Expressions to perform advanced form validation.
Class is conducted in 2018 but students using versions 9, 10, 11, or 2016 may attend.
Course 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)
Class Materials
Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.
Class Prerequisites
Experience in the following is required for this ColdFusion class:
- Basic ColdFusion
Prerequisite Courses
Courses that can help you meet these prerequisites:
Register for a Live Class
$1,050.00
Request a Private Class
- Private Class for your Team
- Online or On-location
- Customizable
- Expert Instructors