更新时间:2021-08-05 16:17:09
封面
版权页
Credits
About the Author
About the Reviewers
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Web Pages—Static to Dynamic
Turning HTML into a dynamic web page
Understanding and using simple variables
Understanding structures
Let's get interactive
Setting page defaults
Introduction to lists and loops
Understanding arrays
Conditional processing with If/<cfif>
Conditional processing with switch
Summary
Chapter 2. 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
Chapter 3. 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's look under the hood
Chapter 4. ORM Database Interaction
Introduction to ORM in ColdFusion
Working with entity-object relationships
ORM functions
Chapter 5. Application Session and Request Scope
Life span
Introducing the Application.cfc object
Application variables
The start methods
The end methods
Scope visibility
Practical application
Universal datasource
Mappings per application
Custom tag paths per application
Chapter 6. Authentication and Permissions
How ColdFusion recognizes users
Custom authentication (additional power)
Extra notes
Chapter 7. CFScript
Script basics
Exception handling
New functions/commands in CF9
Chapter 8. CF AJAX User Interface
Changing times
ColdFusion AJAX
Styling notes
Tips
Map interaction
Chapter 9. CF AJAX Forms
AJAX forms
Grid updates and deletes
Linked grids
The date requestor
The autosuggest box
The directory tree
Message boxes
Progress bar
Chapter 10. CF AJAX Programming
Binding
Bind with event
Extra binding notes
Multiple radio buttons or checkboxes and multiple select
Spry binding
CFAJAXProxy
CFC proxy class objects
Client debugging
Firebug
Built-in debugging
Chapter 11. Introduction to Custom Tags