logo


your one source for IT & AV

Training Presentation Systems Services & Consulting Cloud Services Purchase Client Center Computer Museum
Arrow Course Schedule | Classroom Rentals | Student Information | Free Seminars | Client Feedback | Partners | Survey | Standby Discounts

System Source Learning Center
410-771-5544

Call us for more information and to schedule your classes.

Advanced ColdFusion Training: Components, Error Handling and Complex Objects

Course description

Advanced ColdFusion Training: Components, Error Handling and Complex Objects

 

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 2016 but students using versions 9, 10, 11, or 2016 may attend.

Class Prerequisites

Experience in the following is required for this ColdFusion class:

         Basic ColdFusion

Prerequisite Courses

Courses that can help you meet these prerequisites:

         Introduction to ColdFusion Training

Goals

1.   Learn to create and use complex data objects.

2.   Learn to write <cfscript> code.

3.   Learn to build and use Custom Tags.

4.   Learn to build and use ColdFusion Components (CFCs).

5.   Learn to handle errors properly.

6.   Learn to page through recordsets.

7.   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

 


Disclaimer: All course objectives and outlines are a guide for students. The course topics and order of presentation may be modified based upon the needs of each individual class.