HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Register your product to gain access to bonus material or receive a coupon.
Question 1: Page 46-Installation Process refers to CF4EVAL.EXE found in the Evaluation directory on the CD-ROM. Page 54-Installation Process refers to CFSTUDIO4EVAL.EXE found on the CD-ROM. I can not find these referenced files on the CD-ROM.
Solution 1: In order to install the Cold Fusion Server (pg 46) you will need to run the setup.exe file found on the CD in the ColdFusion\ColdFusion_Server_Evaluation directory. In order to install the Cold Fusion Studio (pg 54), you will need to run the setup.exe file found on the CD in the ColdFusion\ColdFusion_Studio_Evaluation directory.'
Question 2: I installed Cold Fusion Server from the CD but can't make it work. I get an ODBC error when testing from the welcome page. How do I setup the ODBC?
Solution 2: ODBC should have been installed automatically if it was not there. It sounds to me like you have an incomplete or corrupt ODBC installation already on your machine. Look in the ColdFusion group, see if there is an option to install ODBC or Data Access Components (these are not installed
automatically if ODBC already exists on the system). If so, run that install to install fresh drivers. If you cannot find that option you'll need to
download ODBC (or MDAC) drivers from Microsoft directly.
Question 3: In Chapter 24, on page 576 (Interact with Email), the author is talking about the query from List 24.5 (where the line 7 start Select ), the last item, Inventory.ArrivalDate, is not in database.
Solution 3: You are right, that code example will not work. The author who wrote that e-mail chapter mixed different database versions which introduced that
problem. The simplest solution is to just add that column to the Inventory table in the MDB file.
Question 4: My ColdFusion Studio can only browse the .htm extension, but whenever I try to browse the .cfm extension, a message will be displayed, The ColdFusion file you are trying to browse cannot be resolved into a URL.
Solution 4: ColdFusion Studio supports server mappings which must be used for this to
work. There is a button to set up mappings on the debug toolbar. Use it to
map the physical path to a URL so that CF can process the pages. Without
that you'll just browse files instead of processing them.
Question 5: Not able to run the Coldfusion Administrator. It just opens the studio instead.
Solution 5: From the author:
CF Admin cannot be run by double clicking on the CFM files, it must be run by selecting the option under Start, Programs, ColdFusion
Question 6: When I try to install the Coldfusion Eval Server from the supplied CD, I get the following error message:
USE DLL Failed
SMSETREGISTRY Not Loaded
Solution 6: We have been notified that this is an installation problem with the software. I found the following information on the Allaire Developer's Forum at http://forums.allaire.com .
This message is generated when we try to load one of our installer DLL's and it fails. A few things to try:
1. Make sure you're not installing the bits from a network drive using a UNC name. For example, if the installer is on
\\somemachine\temp\setup.exe, then map a drive to \\somemachine and try accessing it like:
k:\temp\setup.exe
2. Don't check "Advanced Security". This won't try to load the SmSetRegistry DLL. While this isn't a perfect solution, it should get you around the problem short term.
An all-in-one kit that provides you with everything you need to create Web-based applications using the latest version of Allaire Corporation's ColdFusion. From the basics of application design to session state management, from database fundamentals to real-time credit card verification and authorization, from dynamic SQL generation to Java enhanced forms, this book contains everything you to need to get up and running in record time. Included on the CD-ROM are evaluation versions of ColdFusion and ColdFusion Studio, complete source code listings, sample applications, and add-on applications and utilities. -This 3rd edition of this highly successful book has been updated to cover recent enhancements to both the ColdFusion Application Server and the ColdFusion Studio development environment. -For coverage of advanced ColdFusion see our other ColdFusion book, "Advanced ColdFusion 4 Application Development", ISBN 0789718103.
Introduction.
Who Should Use This Book. How to Use This Book.
I. INTRODUCTION.
1. Why ColdFusion?Introducing ColdFusion.
2. Introduction to ColdFusion.Understanding the World Wide Web. Introducing ColdFusion. Linking to External Applications.
II. GETTING UP AND RUNNING.
3. Installing ColdFusion and ColdFusion Studio.Preparing to Install ColdFusion. Installing ColdFusion. Preparing to Install ColdFusion Studio. Installing ColdFusion Studio.
4. Administering ColdFusion.Using the ColdFusion Administrator. Using the Server Tab. Using the Data Sources Tab. Using the Debugging Tab. Using the Mail Tab. Using the Logging Tab. Using the Tags Tab. Using the Mappings Tab. Using the Scheduler Tab. Using the Verity Tab. Using the Applets Tab.
III. GETTING STARTED WITH COLDFUSION.
5. Designing an Application.Introducing Application Design.
6. Database Fundamentals.Understanding Databases. Understanding Relational Databases. Understanding the Different Types of Database Applications.
7. Creating Databases and Tables.Creating Databases. Creating the A2Z Database. Creating Tables. Understanding Table Relationships. Adding Data with Microsoft Access.
8. Introduction to SQL.Introducing SQL, the Structured Query Language. Introducing ODBC. Creating an ODBC Data Source. Using Microsoft Query. Preparing to Create Queries. Creating Queries. Sorting Query Results. Filtering Data.
9. SQL Data Manipulation.Adding Data. Adding Multiple Rows. Modifying Data. Deleting Data.
10. Introduction to ColdFusion Studio.Understanding ColdFusion Studio. Using the Editor. Getting Help. Using Tags and Expressions. Accessing ColdFusion Application Server Services. Configuring Studio.
11. ColdFusion Basics.Using Templates. Understanding ColdFusion Templates. Passing Parameters to Templates. Creating Data-Driven Templates. Understanding Data-Driven Templates. Using Drill-Down Applications. Building Dynamic SQL Statements. Creating Frames for Use with ColdFusion. Displaying Results in Tables. Grouping Query Results. Specifying Field Types.
12. ColdFusion Forms.Using Forms. Creating Forms. Processing Form Submissions. Creating Dynamic SQL Statements. Building Truly Dynamic Statements. Creating Dynamic Search Screens.
13. Using Forms to Add or Change Data.Using a Web Browser as a Universal Client. Adding Data with ColdFusion. Introducing CFINSERT. Updating Data with ColdFusion. Introducing CFUPDATE. Deleting Data with ColdFusion. Reusing Forms. Creating a Complete Application. Using CFIF to Create Conditional Code.
14. Using the SQL Query Builder.Understanding the SQL Query Builder. Generating SQL SELECT Statements. Using Query Builder SQL Statements. Generating Other SQL Statements.
15. Form Data Validation.Understanding Form Validation. Using Server-Side Validation. Using Client-Side Validation. Putting It All Together.
16. The Report Writer.Introducing Crystal Reports Professional. Creating Reports with Crystal Reports Professional. Embedding Reports into ColdFusion Templates. Customizing Reports On-The-Fly.
17. Debugging and Troubleshooting.Debugging ColdFusion Applications. Understanding What Can Go Wrong. Debugging Web Server Configuration Problems. Debugging ODBC Driver Errors. Debugging SQL Statement or Logic Errors. Debugging ColdFusion Syntax Errors. Using the Document Validator. Debugging URL and Path Problems. Debugging Form Problems. Using the ColdFusion Debugging Options. Using the Studio Remote Debugger. Using the ColdFusion Log Files. Preventing Problems.
IV. ADVANCED COLDFUSION.
18. Working with Projects.Understanding Projects. Using Projects.
19. Advanced SQL.Using the DISTINCT Keyword. Using Column Aliases. Using Aggregate Functions to Report on Your Data. Combining SQL Statements. Working with Null Values. Using Views to Simplify and Reuse Your Queries. Using Scalar Functions to Manipulate Data Row-by-Row.
20. Working with Stored Procedures.Why Use Stored Procedures? Calling Stored Procedures from ColdFusion Templates. Creating Stored Procedures.
21. Advanced ColdFusion Templates.Reusing Code. Organizing Your Code. Browsing “Next n” Records. Caching Query Results.
22. Lists, Arrays, and Structures.Using Advanced Data Types. Working with ColdFusion Lists. Working with ColdFusion Arrays. Working with ColdFusion Structures.
23. Enhancing Forms with CFFORM.Working with CFFORM. Using CFFORM. Using CFSELECT. Using CFINPUT. Using CFTEXTINPUT. Using CFSLIDER. Using CFTREE and CFTREEITEM. Using CFGRID. Using CFAPPLET.
24. Interacting with Email.Generating SMTP Mail. Including Query Results in Email. Sending Email to a List of People. Using HTML to Make Your Email Look Better. Sending Attachments with Your Email. Using CFPOP. Creating a Complete Mail Client. Mail Daemons. Working with Attachments.
25. Online Commerce.Leveraging the Internet with ColdFusion. Understanding the Mechanics of Internet Commerce. Building the QuickStore Application. Using Payment Processing Systems.
26. Web Application Framework.Introducing the Web Application Framework. Using the Application Template. Addressing the Web's Statelessness.
27. Session Variables and Cookies.Using Client-State Management Techniques. Using ColdFusion Client and Session Management. Using Cookies.
28. Working with Files and Directories.Manipulating Files and Directories. Understanding the CFFILE Tag and Its Attributes. Uploading Files Using the CFFILE Tag. Accessing the Local File System with CFFILE. Reading and Writing Files with CFFILE. Directory Manipulation with CFDIRECTORY.
29. Full-Text Searching with Verity.Getting to Know Verity. Creating a Search Tool for Your Documents. Indexing Data. Maintaining Collections. Administrating Collections with CFCOLLECTION. Understanding Verity's Search Syntax.
30. Directory Services.Understanding Directory Services. Understanding LDAP. Understanding CFLDAP. Retrieving Data with CFLDAP. Using CFLDAP. Accessing Public LDAP Servers. Creating an LDAP Client. Creating the Services List. Adding, Modifying, and Deleting LDAP Entries.
31. Version Control.Using Revisions Control. Understanding Version Control. Using Versions 2.0. Using ColdFusion Studio Source Control Integration.
32. Event Scheduling.Scheduling Template Execution. Using the Administrator to Create Tasks. Using the Administrator to Edit Tasks. Programming Control Tasks with the CFSCHEDULE Tag. Dynamically Creating Static Pages. Logging Scheduled Events.
V. APPENDIXES.
Appendix A. ColdFusion Tag Reference.CFABORT. CFAPPLET. CFAPPLICATION. CFASSOCIATE. CFAUTHENTICATE. CFCOLLECTION. CFCONTENT. CFCOOKIE. CFDIRECTORY. CFERROR. CFEXIT. CFFILE. CFFORM, /CFFORM. CFFTP. CFGRID, CFGRIDCOLUMN, CFGRIDROW, /CFGRID. CFGRIDUPDATE. CFHEADER. CFHTMLHEAD. CFHTTP, CFHTTPPARAM, /CFHTTP. CFIF, CFELSEIF, CFELSE, /CFIF. CFINCLUDE. CFINDEX. CFINPUT. CFINSERT. CFLDAP. CFLOCATION. CFLOCK, /CFLOCK. CFLOOP, CFBREAK, /CFLOOP. CFMAIL, /CFMAIL. CFMODULE. CFOBJECT. CFOUTPUT, /CFOUTPUT. CFPARAM. CFPOP. CFQUERY, /CFQUERY. CFREGISTRY. CFREPORT, /CFREPORT. CFSCHEDULE. CFSCRIPT, /CFSCRIPT. CFSEARCH. CFSELECT, /CFSELECT. CFSET. CFSETTING. CFSLIDER. CFSTOREDPROC, CFPROCPARAM, CFPROCRESULT, /CFSTOREDPROC. CFSWITCH, CFCASE, /CFCASE, CFDEFAULTCASE, /CFDEFAULTCASE, /CFSWITCH. CFTABLE, CFCOL, /CFTABLE. CFTEXTINPUT. CFTHROW. CFTRANSACTION, /CFTRANSACTION. CFTREE, CFTREEITEM, /CFTREE. CFTRY, CFCATCH, /CFCATCH, /CFTRY. CFUPDATE. CFWDDX.
Appendix B. ColdFusion Function Reference.Using ColdFusion Functions. String Manipulation Functions. Date and Time Functions. Data Formatting Functions. Mathematical Functions. International Functions. List Manipulation Functions. Array Manipulation Functions. Structure Manipulation Functions. Query Manipulation Functions. Security Functions. System Functions. Client Variable Manipulation Functions. Expression Evaluation Functions. Bit and Set Manipulation Functions. Miscellaneous Functions.
Appendix C. Verity Search Language Reference.Using Angle Brackets Around Operators. Operators Are Not Case Sensitive. Using Prefix Instead of Infix Notation. Searching for Special Characters as Literals. Understanding Concept Operators. Understanding Evidence Operators. Understanding Proximity Operators. Understanding Relational Operators. Understanding Score Operators.
Index.