|
Provided by: Webucator Advanced ColdFusion Training: Components, Error Handling and Complex Objects |
![]() |
In this advanced ColdFusion 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 so your users will never see ugly error pages. In addition, you will learn to use Regular Expressions to perform advanced form validation.
<
cfinclude
>
, custom tags and stored procedures). You will also learn how to predict and prevent errors so your users will never see ugly error pages. In addition, you will learn to use Regular Expressions to perform advanced form validation.
|
|
||||||||
Training
Provided by Webucator
Advanced ColdFusion Training: Components, Error Handling and Complex Objects
Advanced ColdFusion Training: Components, Error Handling and Complex Objects Class Overview
Advanced ColdFusion Training: Components, Error Handling and Complex Objects Class Goals
In this advanced ColdFusion 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 so your users will never see ugly error pages. In addition, you will learn to use Regular Expressions to perform advanced form validation.
- 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.
- Complex Data Objects
- Scalar Variables
- Lists
- Arrays
- Structures
- Exercise: Arrays and Lists
- Looping with <cfloop>
- Syntax of <cfloop>
- Weeding Out the FIELDNAMES Variable
- Using <cfloop> for automatic query output
- Display Web-safe Colors using CFLOOP
- Exercise: Display results with <cfloop>
- Queries of Queries
- Demo: Query of Query
- Exercise: Query of query to display "classic movies"
- <cfscript>
- Syntax Rules
- Reserved Words
- Looping with <cfscript>
- GetTickCount() - testing the speed of your code
- Exercise: Setting Variables with <cfscript>
- Custom Tags
- Demo: custom tags
- Where to store Custom Tags
- Demo: Custom Tag with Parameters
- CALLER and ATTRIBUTE scopes
- Using <cfmodule>
- Exercise: Using Custom Tags
- 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
- Exercise: Creating ColdFusion Components with Arguments
- Object-Oriented CFCs
- Object-Oriented Principles
- Demo: CFC using Object-Oriented Model
- How does use of a CFC compare to other OO languages?
- Demo: CFC using Object-Oriented Model
- Inheritance
- Demo: Inherit from another CFC
- Access control
- Exposing CFCs as Web Services
- Exercise: Build OOP CFC with Parameters to Edit Courses
- Automatic Includes: Application.cfm and onRequestEnd.cfm
- New Application Framework: Application.cfc
- Exercise: Store DSN and Company Name as Application Variables
- Using Application Variables
- Exercise: Cycle through Featured Movies Using Application Variables
- Standard Error Handling
- Application.cfm
- Demo: the error page
- Demo: detailed error page
- Exercise: Replace the Default Error Page
- Structured Error Handling
- <cftry> and <cfcatch>
- Demo: Using <cftry>
- Transactions with <cftransaction> and <cftry>
- Classic <cftransaction> example
- Demo: Using <cftransaction> with <cftry>
- Exercise: Using <cftransaction> to Avoid Errors
- Stored Procedures
- Benefits of Stored Procedures
- Demo: Stored Procedure
- Demo: pass a parameter to a stored procedure
- Exercise: Pass Parameters to a Stored Procedure
- Showing portions of a Recordset
- Paging through records
- Exercise: Add "Next" and "Previous" links to the Actors list
- Using Regular Expressions
- Special Symbols for Matching Specific Characters
- Specify the number of occurrences
- Placement of the pattern
- POSIX Syntax
- Perl Syntax
- Demo: Testing Regular Expressions
- Exercise: Using Regular Expressions for Advanced Form Validation
Experience in the following areas is required:
- Introduction to ColdFusion Training or the equivalent experience.
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Class Technical RequirementsOur computer technical requirements and setup process is easy, with support just a click away:
- Click here for technical requirements and setup instructions
About The Training Provider: Webucator
Webucator - Webucator delivers customized onsite, instructor-led online and at-your-own-paced technical training throughout the United States and worldwide. Webucator has trained 40 percent of the Fortune 100.
Onsite Class Delivery:
Our onsite classes are delivered for private groups at your offices or a location of your choice. These classes can also be delivered through a web conference for...

