Class overview :
In this Comprehensive ColdFusion 9 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.
Class goals :
– 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 send email with ColdFusion
– Learn to send email with ColdFusion
– Learn sophisticated data management techniques
– Learn to build and use Custom Tags
– Learn to build and use ColdFusion Components (CFCs)
– Learn to handle errors properly
– Learn to work with ColdFusion and XML
Content of Training ColdFusion / Comprehensive
- Introduction to ColdFusion
- Static pages vs. Dynamic pages
- Server-side Web Technologies
- Database Alphabet Soup: ODBC/JDBC, DSNs and SQL
- Course Objectives and Prerequisites
- Introduction to Course Project
- ColdFusion Basics
- Using CFML
- Code Editors
- Dreamweaver Interface
- Tag Updaters / Extensions
- Tag Editing Dialog Boxes
- Embedded Tag Help
- Using ColdFusion Comments
- Creating Variables
- <cfset> and <cfoutput>
- Variable Scope/Prefixes
- Built-in ColdFusion Functions
- CF Function Reference (Dreamweaver specific)
- Online Reference (http://livedocs.adobe.com)
- Tip: (http://cfquickdocs.com)
- Using <cfinclude> to reuse code
- Using CFML
- Dynamic Data: Querying the Database
- Database Basics
- Introduction to SQL
- Select Statement
- Update Statement
- Insert Statement
- Delete Statement
- Data Source Name (DSN) / Remote Development Server (RDS)
- The DSN Used in This Class: movieList
- Course Project Database
- Querying the database with <cfquery>
- <cfdump> for Quick Output
- Customizing Display with <cfoutput>
- Building Dynamic Tables
- Shortcut: <cftable>
- Shortcut: Dynamic Table Tool (in Dreamweaver)
- Database Basics
- Creating a Drill-down Interface
- Passing Variables between Pages
- « Two-page method »
- Receive Variables through the URL
- Using a WHERE clause in a SQL Statement
- Protecting Against SQL Injection Attacks with <cfqueryparam>
- Passing Variables between Pages
- Conditional Statements and Forms
- Conditional Statements
- <cfif>, <cfelseif> and <cfelse>
- Comparison Operators
- Operator
- Description
- Using the isDefined() function
- HTML Form Review
- Self-Submitting Forms
- Using the <cfparam> tag to set a default value
- Quick Examination of a ColdFusion Framework (Methodology): Fusebox
- Dynamically Populating Select Lists
- HTML Review: <select> tags
- Introducing the <cfform> Tag
- Shortcut: <cfselect>
- Conditional Statements
- Quick Introduction to RSS and Ajax with <cfform>
- Reading an RSS Feed
- Introducing the <cfform> Tag
- Building a Mask with <cfform>
- Automatically Build a Dynamic Select List with <cfselect>
- Search Interface
- Creating a Search Interface
- Using % and _ in a LIKE Statement
- Creating a Search Interface
- Insert Records into the Database
- Inserting Records
- SQL Insert Statement
- Insert Record Step 2 – the Insert
- Shortcut: <cfinsert>
- Redirect Users with <cflocation>
- Automated Form Validation
- Client-side vs. Server-side validation: When does the validation code run?
- Inserting Records
- Edit (Update) Database Records
- Updating records
- SQL UPDATE Statement Review
- Passing the Primary Key
- Page 2 – View Current Data in a Form
- Page 3 – Perform the Update to the Database
- Shortcut: <cfupdate>
- Deleting Records
- Note on Deleting records
- Review of the SQL Delete Statement
- « Deleting » without deleting
- No <cfdelete>!
- Updating records
- Reusing Code
- Reusing code with <cfinclude> and <cflocation>
- Custom Tags
- Where to store Custom Tags
- CALLER and ATTRIBUTE scopes
- Using <cfmodule>
- A Note about CFX tags
- User Defined Functions (UDFs) and ColdFusion Components (CFCs)
- Creating UDFs with the <cffunction> tag
- Using ColdFusion Components (CFCs)
- Creating Components
- Calling or Invoking Components
- Passing Arguments to Components
- The Component Code
- The main CFML page
- View a Component directly in the browser
- Using Session Variables for Password Protection
- Session Variables
- Using Application.cfc to Enable Session Management
- Creating Password Protected Pages
- Password-protect.cfm (the included page)
- Application.cfm
- Locking Session and Application variables with <cflock>
- Session Variables
- Tracking User Information with Cookies (optional)
- Using Cookies to Track Users
- Sending email with <cfmail> (optional)
- Using ColdFusion to Send Email
- <cfmail> Tag Syntax
- Using ColdFusion to Send Email
- Managing Data
- Creating a User Administration Page
- Displaying Users
- Adding Users
- Editing and Deleting Users
- Controlling Access to the Page
- Allowing Users to Add and Edit Data
- Displaying Data
- Adding Data using Stored Procedures
- Editing and Deleting Data
- Conclusion
- Creating a User Administration Page
- Custom Tags
- Calling Custom Tags
- thisTag Structure
- Storing Custom Tags
- Other Ways of Calling Custom Tags
- CFMODULE
- CFIMPORT
- Conclusion
- Calling Custom Tags
- ColdFusion Components
- CFC Basics
- Creating CFCs
- Storing CFCs
- Invoking CFCs
- Passing Argument Values
- Extending ColdFusion Components
- Application.cfc
- Application.cfc Methods
- Application.cfc Benefits
- Conclusion
- Handling Errors
- Handling Exceptions
- Compiler Exceptions
- Runtime Exceptions
- cftry/cfcatch
- Exception Types
- Locking Code to Prevent Errors
- Race Conditions
- Named Locks
- Conclusion
- Handling Exceptions
- ColdFusion and XML
- XML Functions
- Creating New XML Documents
- Searching XML Documents
- Validating XML Documents
- Processing RSS Feeds
- Processing RSS Feeds with XmlSearch()
- Processing RSS Feeds with XmlTransform()
- ColdFusion and WDDX
- <cfwddx>
- WDDX vs. Web Services
- Conclusion
- XML Functions
Onze voordelen :
- Type of training: Inter-company, intra-company and individual
- 100% flexible & personalised training : You choose the place, the dates and the training program
- Offer request : Response within 24 hours
- 50% discount for SME’s from Brussels-Capital Region
- Free parking, lunch & drinks
- Free use of our Digital Competence Centre: Manuals, courses, exercises, …