ColdFusion 8 Developer Tutorial


There is a newer version of this book available - ColdFusion 9 Developer Tutorial
ColdFusion 8 Developer Tutorial
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
$20.99
save 30%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
$49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • 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

 

Book Details

Language : English
Paperback : 400 pages [ 235mm x 191mm ]
Release Date : July 2008
ISBN : 1847194125
ISBN 13 : 9781847194121
Author(s) : John Farrar
Topics and Technologies : All Books, Web Development, AJAX, Web Development


Table of Contents

Preface
Chapter 1: Web Pages—Static to Dynamic
Chapter 2: Basic CFCs and Database Interaction
Chapter 3: Power CFCs and Web Forms
Chapter 4: Application, Session, and Request Scope
Chapter 5: Introduction to Custom Tags
Chapter 6: Better Interfaces for JavaScript Libraries
Chapter 7: Authentication and Permissions
Chapter 8: CF AJAX User Interface
Chapter 9: CF AJAX Forms
Chapter 10: CF AJAX Programming
Chapter 11: Working with PDF
Chapter 12: Building Search Abilities
Chapter 13: Working with Files, Email, and Images
Chapter 14: Feeds, REST Services, and Web Services
Chapter 15: Building Dynamic Reports
Chapter 16: Dynamically Generated Web Presentations
Appendix A: Getting Your System Ready for Development
Appendix B: Resources to Build Your Skills
Index
  • 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
      • Product (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
      • Application Start Method
      • Session Start Method
      • Request Start Method
    • The End Methods
      • Request End Method
      • Session End Method
      • Application End Method
      • On Error Method
    • Scope Visibility
    • Practical Application
    • Mappings per Application
    • Custom Tag Paths per Application
    • Summary
  • Chapter 5: Introduction to Custom Tags
    • Different Forms of Code Reuse
      • CFCs
    • Custom Tags
      • CFInclude
      • Our First Custom Tag
    • Custom Header/Footer Tags
    • Nested Tags
    • CFInclude from Custom Tags
    • Templates versus Skins
    • Managing Custom Tags
    • CFModule Approach
    • Tag Library Approach
    • Summary
  • ColdFusion AJAX
    • Layout
      • <cfdiv />
      • <cflayout />
      • <cfpod />
      • <cfwindow />
    • Menus and Tool Tips
      • <cfmenu />
      • <cftooltip />
  • Styling Notes
  • Tips
  • Summary
  • Chapter 9: CF AJAX Forms
    • Forms
      • <cfgrid />
      • Grid Paging
    • Grid Updates and Deletes
    • Linked Grids
      • <cfinput />
    • Binding Page Elements
      • Binding Immediately upon Load
    • The Date Requestor
    • The Autosuggest Box
      • <cfselect />
      • <cftextarea />
      • <cftree />
    • The Directory Tree
    • Summary
  • Chapter 10: CF AJAX Programming
    • Binding
      • On Page Binding
      • CFC Binding
      • JavaScript Binding
      • URL Binding
    • Bind with Event
    • Extra Binding Notes
    • Multiple Radio Buttons or Check Boxes and Multiple Select
      • Spry Binding
    • CFAJAXProxy
    • CFAJAX Proxy Binding
    • CFC Proxy Class Objects
    • Client Debugging
    • Firebug
    • Built-In Debugging
      • Logging Features
      • Customization
      • Automatically Wired AJAX Links
      • Execute JavaScript after Loading Content
      • Other Cool Commands
      • Post for CFAJAX Calls
    • Summary
  • Chapter 11: Working with PDF
    • Generating PDF Pages
      • Our First PDF Page Conversion
      • Splitting into Sections
      • Adding Headers and Footers and Variables
      • Adding Page Breaks and Variables
      • Adding Bookmarks
      • Saving PDF Documents
    • Printing from the Server
    • Working with PDF Forms
    • Populating PDF Forms with Data
    • Reading Data from PDF Forms
    • Manipulating PDF Documents
      • Merging Documents
      • Deleting Pages
    • Encrypting PDF Documents
    • Generating Thumbnails
    • Adding Watermarks
    • Final Thoughts
    • Summary
  • Chapter 12: Building Search Abilities
    • Database Searching
    • Verity Search Solutions
    • Built-In Search Engine
      • Creating a Collection
      • Indexing a Collection
      • Searching a Collection
        • The Search Form
        • The Results Page
        • Search Techniques
        • PDF Linking to Searches
        • Suggestions
    • Integrating Third-Party Searching
    • Google Details
    • Custom Search Engines (Google)
      • On-The-Fly Search Engine
      • Simple Search
        • Search Types
        • Site Restricted
        • Local Search
    • Summary
  • Chapter 15: Building Dynamic Reports
    • Traditional Web Page Reporting
      • Simple Report
      • Grouped Data
      • Drill-Down Reporting
    • Output Formats
      • PDF Output
      • Excel Output
      • CVS Output
      • XML Output
      • JSON Output
    • Using CFReport and Report Builder
    • Summary
  • Chapter 16: Dynamically Generated Web Presentations
    • Introduction to CFPresentation
    • Mixing in the Media
    • Caching the Contents
    • Dynamic Benefits
      • Scenario 1: Sales Force
      • Scenario 2: Client-Specific Presentations
      • Scenario 3: Live Audience Sensitive Content
    • Summary
  • Appendix B: Resources to Build Your Skills
    • Blogs
    • ColdFusion Conferences
    • Coding Frameworks
    • General ColdFusion Sites
    • Libraries and Tools
      • Aspect or IoC or DI
    • Content Handling/Generation
    • Database
    • JavaScript
    • Project Management
    • Script
    • Search
    • Site Integration APIs
    • Unit Testing or Debugging
    • XML Tools and Products
    • Other Notable Works

John Farrar

John started working with computer programming around 1977. He has had the opportunity to work on projects used by Apple, Blue Cross, Brunswick Recreation, Casio, GVSU, Johnson Controls, Sprint, and many others. This history covers over 30 years of knowledge and experience in the industry.

He started doing web development over 10 years ago. In the early days of the Web ColdFusion stood out to him not just as a way to make web pages into web applications but as a maturing solid platform good for the developer, site owner, and end users. He started at version 4.5 and has been enjoying each version upgrade more and more.

John owns a company called SOSensible. His company does work for large companies but has a special focus on also making sure technology is approachable beyond the enterprise. They have developed a number of Open Source solutions including COOP. COOP is a mix of Custom Tags and CFCs that provides structure while keeping development simpler. It demonstrates his love for the things that make ColdFusion/CFML a delightful language to build websites.

He has spoken at national and regional conferences, online meetings, and area user group meetings. He is also an Adobe User Group manager. John knows that community is a viable and productive tool to build developers and the companies they serve. He has learned much from great resources in the community including bloggers, books, conferences, and resources to great in number to mention here. He blogs at sosensible.com for the community.




Contact John Farrar

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 6 submitted: last submission 11 Nov 2013

Errata type: Typo | Page number: 5 | Errata date: 16 Apr 09

change "downlad" to "download"

 

Errata type: Code | Page number: 28 | Errata date: 16 Apr 09

change "list="#questions#" index="iQuestion">" to "" i.e. remove the repeated items

 

Errata type: Typo | Page number: 43 | Errata date: 16 Apr 09

change "Add the following highlighted lines to the .cfc and .cfc pages:" to "Add the following highlighted lines to the .cfc and .cfm pages:"

 

Errata type: Other | Page number: 45 | Errata date: 19 Apr 09

change "First, view Appendix A to set up your database and then set up your environment for this section. If you are not skilled with databases, then we have suggestions in Appendix B. You will not need that as we write the ones you need in the code examples for this book." to "You can download the examples from the publisher’s site at http://www.packtpub.com/files/code/4121_Code.zip"

 

Errata type: Other | Page number: Other | Errata date: 19 Apr 09

change "See Appendix A, if you have not set this up yet." to "See the publisher's site listing of this book for a link to download the code which includes database information."

 

Errata type: Code | Page number: 104 | Errata date: 19 Apr 09

change "" to ""

 

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

ColdFusion 8 Developer Tutorial +    Getting Started with Citrix XenApp 6.5 =
50% Off
the second eBook
Price for both: $45.60

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • 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.

The most intense guide to creating professional ColdFusion applications available

Approach

This book is a fast-paced tutorial to developing ColdFusion applications, with an emphasis on real-world skills. Packed with examples and careful explanations, the book leads you through all the topics relevant to today's ColdFusion developer.

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software