Don't miss our Cyber Week 20% Off Self-Paced Courses and Vouchers!
Use code SP-CYBERWEEK at checkout through December 5th.
ColdFusion Private

Comprehensive ColdFusion Training (CFM501)

Course Length: 5 days

In this Comprehensive ColdFusion training course, students will spend the first part of the week learning the basics of ColdFusion and the second part of the week learning advanced ColdFusion techniques.

Comprehensive ColdFusion Training

Register or Request Training

  • Private class for your team
  • Live expert instructor
  • Online or on‑location
  • Customizable agenda
  • Proposal turnaround within 1–2 business days

Course Overview

In this Comprehensive ColdFusion training course, students will spend the first part of the week learning the basics of ColdFusion and the second part of the week learning advanced ColdFusion techniques.

Course Benefits

  • Learn to get data from a database and display it on the page
  • Learn to insert, Edit and Delete records from a database
  • Learn to pass data from one page and receive it on another using HTML Forms
  • Learn to create Dynamic Form Fields including Dynamic Select Lists
  • Learn to build a Search Interface
  • Learn to use Session Variables to provide Password Protection
  • Learn to call ColdFusion Components (CFCs) and Custom Tags
  • 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.

Delivery Methods

Private Class
Delivered for your team at your site or online.

Course Outline

  1. Introduction to ColdFusion
    1. Static pages vs. Dynamic pages
    2. Server-side Web Technologies
    3. Database Alphabet Soup: ODBC/JDBC, DSNs and SQL
    4. Course Objectives and Prerequisites
    5. Introduction to Course Project
  2. ColdFusion Basics
    1. Using CFML
      1. Code Editors
      2. Tag Updaters / Extensions
      3. Tag Editing Dialog Boxes
    2. Embedded Tag Help
    3. Using ColdFusion Comments
    4. Creating Variables
      1. <cfset> and <cfoutput>
    5. Variable Scope/Prefixes
    6. Built-in ColdFusion Functions
    7. Using <cfinclude> to reuse code
  3. Dynamic Data: Querying the Database
    1. Database Basics
      1. Introduction to SQL
      2. Select Statement
      3. Update Statement
      4. Insert Statement
      5. Delete Statement
      6. Data Source Name (DSN) / Remote Development Server (RDS)
      7. The DSN Used in This Class: movieList
    2. Course Project Database
    3. Querying the database with <cfquery>
      1. <cfdump> for Quick Output
    4. Customizing Display with <cfoutput>
      1. Building Dynamic Tables
      2. Shortcut: <cftable>
  4. Creating a Drill-down Interface
    1. Passing Variables between Pages
      1. "Two-page method"
    2. Receive Variables through the URL
      1. Using a WHERE clause in a SQL Statement
      2. Protecting Against SQL Injection Attacks with <cfqueryparam>
  5. Conditional Statements and Forms
    1. Conditional Statements
      1. <cfif>, <cfelseif> and <cfelse>
      2. Comparison Operators
      3. Operator
      4. Description
      5. Using the isDefined() function
    2. HTML Form Review
    3. Self-Submitting Forms
      1. Using the <cfparam> tag to set a default value
      2. Quick Examination of a ColdFusion Framework (Methodology): Fusebox
    4. Dynamically Populating Select Lists
      1. HTML Review: <select> tags
      2. Introducing the <cfform> Tag
      3. Shortcut: <cfselect>
  6. Quick Introduction to RSS and Ajax with <cfform>
    1. Reading an RSS Feed
    2. Introducing the <cfform> Tag
    3. Building a Mask with <cfform>
    4. Automatically Build a Dynamic Select List with <cfselect>
  7. Search Interface
    1. Creating a Search Interface
      1. Using % and _ in a LIKE Statement
  8. Insert Records into the Database
    1. Inserting Records
      1. SQL Insert Statement
      2. Insert Record Step 2 - the Insert
      3. Shortcut: <cfinsert>
      4. Redirect Users with <cflocation>
    2. Automated Form Validation
      1. Client-side vs. Server-side validation: When does the validation code run?
  9. Edit (Update) Database Records
    1. Updating records
      1. SQL UPDATE Statement Review
      2. Passing the Primary Key
      3. Page 2 - View Current Data in a Form
      4. Page 3 - Perform the Update to the Database
      5. Shortcut: <cfupdate>
    2. Deleting Records
      1. Note on Deleting records
      2. Review of the SQL Delete Statement
      3. "Deleting" without deleting
      4. No <cfdelete>!
  10. Reusing Code
    1. Reusing code with <cfinclude> and <cflocation>
    2. Custom Tags
      1. Where to store Custom Tags
      2. CALLER and ATTRIBUTE scopes
      3. Using <cfmodule>
      4. A Note about CFX tags
    3. User Defined Functions (UDFs) and ColdFusion Components (CFCs)
      1. Creating UDFs with the <cffunction> tag
      2. Using ColdFusion Components (CFCs)
    4. Creating Components
      1. Calling or Invoking Components
      2. Passing Arguments to Components
      3. The Component Code
      4. The main CFML page
      5. View a Component directly in the browser
  11. Using Session Variables for Password Protection
    1. Session Variables
      1. Using Application.cfc to Enable Session Management
      2. Creating Password Protected Pages
      3. Password-protect.cfm (the included page)
      4. Application.cfm
      5. Locking Session and Application variables with <cflock>
  12. Tracking User Information with Cookies (optional)
    1. Using Cookies to Track Users
  13. Sending email with <cfmail> (optional)
    1. Using ColdFusion to Send Email
      1. <cfmail> Tag Syntax
  14. 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
  15. 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
  16. 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
  17. Application Framework
    1. Application Framework
      1. Automatic Includes: Application.cfm and onRequestEnd.cfm
      2. New Application Framework: Application.cfc
    2. Using Application Variables
  18. 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
  19. 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
  20. 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

Private classes can be customized to include any of the following topics:

  1. Manipulate the File System with <cffile>
    1. Working with <cffile>
      1. Read and Write Text Files with <cffile>
      2. Built-in Function: ExpandPath()
      3. Reading Files with the <cffile> tag
      4. Built-in Function: FileExists()
    2. Upload Documents with <cffile>
      1. Using the <cffile> tag for an Upload
      2. After a <cffile> Upload: FILE Variables
      3. Deeper Examination: HTML and a File Upload
      4. Saving long variable values with <cfsavecontent>
      5. Using the <cffileupload> tag for Multiple Uploads in ColdFusion
      6. Using <cfcontent> to create an Excel Spreadsheet
  2. Using XML with ColdFusion
    1. XML Syntax Basics
      1. XML Logical Structure
      2. Each XML document must begin with a language declaration
      3. Each XML document must have a single root element, which normally contains other child elements
      4. XML Physical Structure
      5. Case Sensitivity
      6. Required Closing Tags
      7. New Syntax for "empty elements"
      8. Tags must be nested properly
      9. Attribute Values must be enclosed properly in single or double quotes
      10. XML Comments
      11. XML Logic: Designing Datasheets
    2. Parsing XML data with ColdFusion
      1. Demo: Convert an XML datasheet into an XML Document Object with XMLParse()
      2. Case-sensitive Element Names with XMLParse()
      3. Method 1 - Array notation with generic node names
      4. Method 2 - Associative Array notation
      5. Method 3 - Array notation with specific node names
      6. Methods 4(+) - Mix and Match
      7. Deeper Examination: Counting Nodes
      8. Manipulating XML data with Built-in Functions
      9. List of Structure/Array Functions that may be used on an XML Document Object
      10. List of XML-specific Functions
    3. Manipulating the XML Document Object: Adding Elements
      1. Deeper Examination: Adding an XML Attribute
    4. Create a Query Object from Existing XML (optional)
      1. Deeper Examination: Looping through the XML
      2. Deeper Examination: Creating the Query Object
      3. Deeper Examination: Query the query
    5. Extensible Stylesheet Language (XSL) Basics
      1. XSL, XSLT, and XSLFO
      2. XSL Basics: Linking to an XSL Stylesheet
      3. Examining an XSL Stylesheet
      4. The xsl:stylesheet tag and the namespace declaration
      5. The <xsl:template> tag
      6. The <xsl:value-of> tag
      7. Referencing iterating nodes
    6. Server-side XSL Transformation with ColdFusion
      1. Deeper Examination: XMLTransform()
      2. Idea! Transforming XML Data into XML Data
    7. XPath Basics
      1. XPath: the XSL Node Matching Syntax
      2. Choosing Between Equivalent XPath Expressions
      3. An XPath testing tool
    8. Using XPath with ColdFusion
      1. Deeper Examination: XPath expression
      2. Deeper Examination: XMLSearch()
      3. Idea! Convert an XML Document Object to a Query Object
  3. Working with <cfhttp>
    1. Making http requests with <cfhttp>
      1. Attributes of <cfhttp>
      2. Deeper Examination: <cfhttp> tag
      3. Deeper Examination: <cfoutput> block
      4. While looping though the records
      5. Deeper Examination: QueryAddColumn() function
      6. Idea! Dynamically Creating Static Pages
    2. Passing Variables with <cfhttp> and <cfhttpparam>
      1. Creating an Intelligent Agent
      2. Deeper Examination: agent.cfm
      3. Deeper Examination: agent-page2.cfm
      4. Deeper Examination: <cfsetting>
  4. ColdFusion and Web Services
    1. Working with Web Services
      1. Examples
      2. Producers vs. Consumers
      3. Definitions
      4. Creating WSDL Documents
      5. Step 1 - Convert the existing CFC into a Web Service
      6. Step 2 - Examine a local WSDL file from the demo
      7. Step 3 - Invoking a ColdFusion Web Service
      8. Deeper Examination
      9. Deeper Examination: Passing an argument to a Web Service
      10. SOAP
      11. A note about security
    2. Invoking External Web Services
      1. Locating Web Services
      2. Invoking Web Services from .NET, Java and more
      3. Deeper Examination: <cfinvoke> and <cfinvokeargument>
  5. Web Distributed Data Exchange (WDDX) (if time allows)
    1. WDDX
      1. Deeper Examination: <cfwddx> tag
      2. Deeper Examination
    2. Deserialize WDDX data in JavaScript
      1. Deeper Examination: Include JavaScript functions
      2. Deeper Examination: Deserialize in JavaScript
      3. Deeper Examination: Generated source code
      4. Deeper Examination

 

Class Materials

Each student receives a comprehensive set of materials, including course notes and all class examples.

Class Prerequisites

Experience in the following is required for this ColdFusion class:

  • HTML

Experience in the following would be useful for this ColdFusion class:

  • SQL
  • JavaScript
  • CSS

Have questions about this course?

We can help with curriculum details, delivery options, pricing, or anything else. Reach out and we’ll point you in the right direction.