PacktLib: ColdFusion 8 Developer Tutorial

ColdFusion 8 Developer Tutorial

Credits

About the Author

About the Reviewers

Preface

Web Pages—Static to Dynamic

Turning HTML into a Dynamic Web Page

Understanding and Using Simple Variables

Understanding Structures

Let Us Get Interactive

Setting Page Defaults

Introduction to Lists and Loops

Understanding Arrays

Conditional Processing with If

Conditional Processing with Switch

Summary

Basic CFCs and Database Interaction

Our First CFC

Our First Object

Using an Object Constructor

Connecting to a Database

Returning Data from the CFC

Making Our Data Query Flexible

The Basic Data Object Concept

Object Method Access Control

Summary

Power CFCs and Web Forms

The Practice of Protecting Access

Web Forms Introduction

Managing Our Product Data

Getting Data to Our Edit Page

Saving Our Data

Improving Page Flow

Adding a New Record

Let Us Look Under the Hood

Summary

Application, Session, and Request Scope

Life Span

Introducing the Application.cfc Object

Application Variables

The Start Methods

The End Methods

Scope Visibility

Practical Application

Mappings per Application

Custom Tag Paths per Application

Summary

Introduction to Custom Tags

Different Forms of Code Reuse

Custom Tags

Custom Header/Footer Tags

Nested Tags

CFInclude from Custom Tags

Templates versus Skins

Managing Custom Tags

CFModule Approach

Tag Library Approach

Summary

Better Interfaces for JavaScript Libraries

Thickbox Library HTML Style

ColdFusion-Powered Thickbox

Where Am I? (via Google Maps)

ColdFusion JavaScript

Summary

Authentication and Permissions

How ColdFusion Recognizes Users

Custom Authentication (Additional Power)

Extra Notes

Summary

CF AJAX User Interface

HTML-Based Websites

Server-Side Languages

Browser-Side Applications

ColdFusion AJAX

Styling Notes

Tips

Summary

CF AJAX Forms

Forms

Grid Updates and Deletes

Linked Grids

Binding Page Elements

The Date Requestor

The Autosuggest Box

The Directory Tree

Summary

CF AJAX Programming

Binding

Bind with Event

Extra Binding Notes

Multiple Radio Buttons or Check Boxes and Multiple Select

CFAJAXProxy

CFAJAX Proxy Binding

CFC Proxy Class Objects

Client Debugging

Firebug

Built-In Debugging

Summary

Working with PDF

Generating PDF Pages

Printing from the Server

Working with PDF Forms

Populating PDF Forms with Data

Reading Data from PDF Forms

Manipulating PDF Documents

Encrypting PDF Documents

Generating Thumbnails

Adding Watermarks

Final Thoughts

Summary

Building Search Abilities

Database Searching

Verity Search Solutions

Built-In Search Engine

Integrating Third-Party Searching

Google Details

Custom Search Engines (Google)

Summary

Working with Files, Email, and Images

Working with Files

Working with Email

Working with Images

Image Information

Summary

Feeds, REST Services, and Web Services

Collaboration

SOAP Web Services

Summary

Building Dynamic Reports

Traditional Web Page Reporting

Output Formats

Using CFReport and Report Builder

Summary

Dynamically Generated Web Presentations

Introduction to CFPresentation

Mixing in the Media

Caching the Contents

Dynamic Benefits

Summary

Getting Your System Ready for Development

Getting Your System Ready for Development

Getting Your System Ready for Development

Getting Your System Ready for Development

Getting Your System Ready for Development

Getting Your System Ready for Development

Getting Your System Ready for Development

Getting Your System Ready for Development

Getting Your System Ready for Development

Getting Your System Ready for Development

Getting Your System Ready for Development

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Resources to Build Your Skills

Index