Home > Store

ColdFusion 4.0 Web Application Construction Kit, The

Register your product to gain access to bonus material or receive a coupon.

ColdFusion 4.0 Web Application Construction Kit, The

Book

  • Sorry, this book is no longer in print.
Not for Sale

About

FAQs

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.



Description

  • Copyright 1998
  • Edition: 1st
  • Book
  • ISBN-10: 0-7897-1809-X
  • ISBN-13: 978-0-7897-1809-9

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.

Sample Content

Table of Contents



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.

Updates

Updates & Corrections


Due to an error, chapter 4 of the ColdFusion 4 Web Application Construction Kit did not contain the updated and final text and figures. The corrected chapter 4 is included here for your reference. We apologize for any inconveniences this might have caused. -- chapter4.htm

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020