ColdFusion 8 Developer Tutorial

An intense guide to creating professional ColdFusion web applications: get up to speed in ColdFusion and learn how to integrate with other web 2.0 technologies

ColdFusion 8 Developer Tutorial

Starting
John Farrar

An intense guide to creating professional ColdFusion web applications: get up to speed in ColdFusion and learn how to integrate with other web 2.0 technologies
$21.00
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847194121
Paperback400 pages

About This Book

  • Fast-paced guide to important ColdFusion development topics
  • Packed with example code and real-world knowledge
  • Coverage of using AJAX in ColdFusion
  • Also covers ColdFusion 8 Update 1

 

Who This Book Is For

This book is for web developers working with ColdFusion 8.

If your goal is to get a good grounding in the basics of the language as quickly as possible and put a site together quickly, this book is ideal for you. If you want to learn more about professional programming of ColdFusion, this book is definitely for you.

No prior knowledge of ColdFusion is expected, but basic knowledge of general web and software development skills is assumed.

Table of Contents

Chapter 1: 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
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
Summary
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 Us Look Under the Hood
Summary
Chapter 4: 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
Chapter 5: 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
Chapter 6: Better Interfaces for JavaScript Libraries
Thickbox Library HTML Style
ColdFusion-Powered Thickbox
Where Am I? (via Google Maps)
ColdFusion JavaScript
Summary
Chapter 7: Authentication and Permissions
How ColdFusion Recognizes Users
Custom Authentication (Additional Power)
Extra Notes
Summary
Chapter 8: CF AJAX User Interface
HTML-Based Websites
Server-Side Languages
Browser-Side Applications
ColdFusion AJAX
Styling Notes
Tips
Summary
Chapter 9: CF AJAX Forms
Forms
Grid Updates and Deletes
Linked Grids
Binding Page Elements
The Date Requestor
The Autosuggest Box
The Directory Tree
Summary
Chapter 10: 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
Chapter 11: 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
Chapter 12: Building Search Abilities
Database Searching
Verity Search Solutions
Built-In Search Engine
Integrating Third-Party Searching
Google Details
Custom Search Engines (Google)
Summary
Chapter 13: Working with Files, Email, and Images
Working with Files
Working with Email
Working with Images
Image Information
Summary
Chapter 14: Feeds, REST Services, and Web Services
Collaboration
SOAP Web Services
Summary
Chapter 15: Building Dynamic Reports
Traditional Web Page Reporting
Output Formats
Using CFReport and Report Builder
Summary
Chapter 16: Dynamically Generated Web Presentations
Introduction to CFPresentation
Mixing in the Media
Caching the Contents
Dynamic Benefits
Summary

What You Will Learn

  • The basics of ColdFusion
  • Basic debugging and exception handling techniques, and conditional processing
  • Making your ColdFusion Components (CFCs) come alive with methods, using object inheritance, connecting to a database through the internal methods of our object/CFCs
  • Keeping your object/CFCs thread safe when multiple users are running the same code segments
  • Managing multiple products through common forms for listing, editing, and adding data
  • Passing information into a custom tag, different methods of storing and accessing tags and tag libraries
  • Wrapping the ThickBox JavaScript gallery functions into a custom tag for simple functional reuse
  • Wrapping a Google map library into our code with a custom tag for simplified interactive maps, and creating a multi-state form list wrapped in a custom tag
  • Controlling site content based on current user permissions
  • ColdFusion AJAX Layout features and ColdFusion widgets
  • Enhancing the user interface with AJAX
  • Searching with a database, features of Verity search solution, how to integrate a third-party search solution
  • Managing files, emails, and images for a dynamic website
  • Integrating Feed, REST, and SOAP web services for interacting with other sites
  • Creating data-driven reports in ColdFusion with several styles and interactions
  • Presenting dynamic contents on your site using CFPresentation

In Detail

Adobe ColdFusion is an application server, renowned for rapid development of dynamic websites, with a straightforward language (CFML), powerful methods for packaging and reusing your code, and AJAX support that will get developers deep into powerful web applications quickly.

This book is the most intense guide to creating professional ColdFusion applications available. Packed with example code, and written in a friendly, easy-to-read style, this book is just want you need if you are serious about ColdFusion.

This book will give you clear, concise and, of course, practical guidance to take you from the basics of ColdFusion 8 to the skills that will make you a ColdFusion developer to be reckoned with.

ColdFusion expert John Farrar will teach you how about the basics of ColdFusion programming, application architecture, and object reuse, before showing you a range of topics including AJAX library integration, RESTful Web Services, PDF creation and manipulation, and dynamically generated presentation files that will make you the toast of your ColdFusion developer town.

This book digs deep with the basics, with real-world examples of the how and whys, to get more done faster with ColdFusion 8.

This book also covers the new features of ColdFusion 8 Update 1.

Authors

Table of Contents

Chapter 1: 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
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
Summary
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 Us Look Under the Hood
Summary
Chapter 4: 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
Chapter 5: 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
Chapter 6: Better Interfaces for JavaScript Libraries
Thickbox Library HTML Style
ColdFusion-Powered Thickbox
Where Am I? (via Google Maps)
ColdFusion JavaScript
Summary
Chapter 7: Authentication and Permissions
How ColdFusion Recognizes Users
Custom Authentication (Additional Power)
Extra Notes
Summary
Chapter 8: CF AJAX User Interface
HTML-Based Websites
Server-Side Languages
Browser-Side Applications
ColdFusion AJAX
Styling Notes
Tips
Summary
Chapter 9: CF AJAX Forms
Forms
Grid Updates and Deletes
Linked Grids
Binding Page Elements
The Date Requestor
The Autosuggest Box
The Directory Tree
Summary
Chapter 10: 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
Chapter 11: 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
Chapter 12: Building Search Abilities
Database Searching
Verity Search Solutions
Built-In Search Engine
Integrating Third-Party Searching
Google Details
Custom Search Engines (Google)
Summary
Chapter 13: Working with Files, Email, and Images
Working with Files
Working with Email
Working with Images
Image Information
Summary
Chapter 14: Feeds, REST Services, and Web Services
Collaboration
SOAP Web Services
Summary
Chapter 15: Building Dynamic Reports
Traditional Web Page Reporting
Output Formats
Using CFReport and Report Builder
Summary
Chapter 16: Dynamically Generated Web Presentations
Introduction to CFPresentation
Mixing in the Media
Caching the Contents
Dynamic Benefits
Summary

Book Details

ISBN 139781847194121
Paperback400 pages
Read More