ColdFusion MX: From Static to Dynamic in 10 Steps

   
  
• Table of Contents
ColdFusion® MX: From Static to Dynamic in 10 Steps
By Barry Moore
 
Publisher: New Riders Publishing
Pub Date: August 09, 2002
ISBN: 0-7357-1296-4
Pages: 400

   Copyright
   About the Author
      About the Technical Reviewers
   Acknowledgments
   Tell Us What You Think!
   Introduction
      Who Is This Book For?
      How This Book Is Structured
      What You Will Need
      Companion Web Site
      Static Web Site Case Study
   Step 1.  The Basics
      Web Publishing
      What Is ColdFusion MX?
      CFML Basics
      Your First Template
      Reusing Code with the <CFINCLUDE> Tag
      Example 1.1: My First Template
      Troubleshooting
      Makeover Exercise
      Summary
   Step 2.  Using Variables
      Understanding Variables
      Data Types
      Variable Scopes
      Naming Variables
      Setting Values
      Retrieving Values
      Accessing CGI Variables
      Example 2.1: Using CGI Variables
      Passing Values
      Example 2.2: Passing Variables Via the URL
      Makeover Exercise
      Summary
   Step 3.  Databases and SQL
      Database Basics
      Setting Up a Data Source with ColdFusion Administrator
      Retrieving Data
      Example 3.1: Creating an Employee List
      Retrieving Selected Data
      Example 3.2: Listing Employees by Department
      Makeover Exercise
      Summary
   Step 4.  Controlling Program Flow
      Using Conditional Statements
      Using IF Statements
      Example 4.1: Creating a Time-Based Greeting
      Using <CFELSEIF>
      Example 4.2: Amended Time-Based Greeting
      Nested IF Statements
      Using SWITCH/CASE Statements
      Using Loops
      Example 4.3: A ColdFusion Cheer
      Nested Loops
      Makeover Exercise
      Summary
   Step 5.  Using Forms with ColdFusion MX
      The Form Page
      The Action Page
      Using Form Variables
      Using the IsDefined() Function
      Example 5.1: A Simple Search Form
      Dynamic Queries
      Using the Trim() Function
      Example 5.2: Building an Advanced Search Form
      Form Validation
      Using <CFFORM>
      Example 5.3: Create A Login Form
      When to Use What
      Makeover Exercise
      Summary
   Step 6.  Updating, Inserting, and Deleting Database Records
      Considerations
      Using Forms to Update Records
      Example 6.1: Updating Staff Information
      Updating the Database
      Example 6.2: Updating Database Information
      Example 6.3: Inserting New Staff Records
      Deleting Records
      Makeover Exercise
      Summary
   Step 7.  Using Email with ColdFusion MX
      Understanding SMTP Servers
      Using the <CFMAIL> Tag
      Example 7.1: Creating a Web-Based Email Form
      Sending HTML-Based Email
      Example 7.2: Creating HTML Email
      Advanced <CFMAIL> Attributes
      Example 7.3: Sending Bulk Email
      Makeover Exercise
      Summary
   Step 8.  ColdFusion Application Framework
      Creating an Application Framework
      The Application.cfm Template
      The OnRequestEnd.cfm Template
      Example 8.1: Creating an Application.cfm File
      State Management
      Using <CFLOCK>
      Example 8.2: Built-In Variables
      Makeover Exercise
      Summary
   Step 9.  User Security
      Types of Security
      Makeover Exercise
      Summary
   Step 10.  Using Lists, Arrays, and Structures
      Lists
      Example 10.1: Creating, Passing, and Displaying a List
      Arrays
      Example 10.2: Creating an Array
      Example 10.3: Working with Array Elements
      Example 10.4: Populating an Array with Query Data
      Structures
      Makeover Exercise: The Grand Finale
      Summary
   The Next Step: Advanced ColdFusion Functionality
      Cookies
      <CFPOP>
      <CFHTTP> and <CFFTP>
      Charting and Graphing
      Flash Application Services
      Custom Tags
      CFSCRIPT
      User-Defined Functions
      Web Services
      ColdFusion Components
      XML Support
      Verity Full-Text Searching
      Scheduled Tasks
      Development Methodologies
   System Setup
      ColdFusion MX Server Versions
      System Requirements
      Downloading and Installing ColdFusion MX Server
      Finding ColdFusion MX Documentation
      Installing the Book's Supporting Files
      Creating Virtual Sites

Top

 

Категории