Sams Teach Yourself Macromedia Coldfusion in 21 Days

by
Edition: 2nd
Format: Paperback
Pub. Date: 2001-08-01
Publisher(s): Pearson P T R
List Price: $53.32

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Sams Teach Yourself Macromedia ColdFusion in 21 Days, Second Edition will quickly empower readers to create their own dynamic database-driven Web applications using Allaire's ColdFusion. Using client-proven methods, and the success of his popular ColdFusion tutorial for Wired, expert author Charles Mohnike provides readers with an understanding of the ColdFusion Server, and guides them through the use of ColdFusion Studio, enabling them to create their own ColdFusion applications quickly and easily. The 21 one-day lessons include topics such as: easily installing and configuring the ColdFusion Server; working with the ColdFusion Studio; working with SQL; optimizing your datasource; understanding Templates and ColdFusion Markup Language (CFML); using ColdFusion Tags; manipulating data; creating E-Commerce solutions with ColdFusion; and debugging ColdFusion applications.

Table of Contents

Introductionp. 1
At a Glancep. 5
Introducing ColdFusionp. 7
What Is ColdFusion?p. 8
Exploring a Sample ColdFusion Applicationp. 8
Why Should I Use ColdFusion?p. 10
Database-Driven Sitesp. 10
Ready for Businessp. 10
Data Collectionp. 12
Better Than CGIp. 13
Custom Applicationsp. 14
Dynamic Page Generationp. 14
Understanding Clients and Serversp. 17
How ColdFusion Works Within the Client/Server Relationshipp. 18
Tag Processingp. 19
Database Connectivityp. 19
Anatomy of a ColdFusion Applicationp. 23
Connecting Your Database to the Webp. 24
Understanding Tablesp. 25
Understanding Columnsp. 25
Understanding Rowsp. 26
Understanding Keysp. 26
Referencing Datap. 27
The Datasource and ODBCp. 27
Exploring the ColdFusion Templatep. 29
The Queryp. 30
HTML Markupp. 31
The Outputp. 31
Exploring the Relationship Between Query and Outputp. 33
Using URL Variables to Select Outputp. 34
Setting Up ColdFusion and Defining a Datasourcep. 41
Deciding What to Buy or Not to Buyp. 42
Questions to Ask a Potential ColdFusion Providerp. 43
ColdFusion Versionp. 43
Number of Datasources Supportedp. 44
Updating File-Based Datasourcesp. 45
Where to Put Your Databasep. 47
Exploring ColdFusion Server Varietiesp. 47
Professional Edition Compatibilityp. 48
Enterprise Edition Compatibilityp. 48
Installing ColdFusion Server on Windows Platformsp. 49
Installing ColdFusion Server on Unix-Based Platformsp. 50
Verifying Server Setupp. 51
Understanding the ColdFusion Administratorp. 52
The Server Settings Groupp. 53
The Datasources Groupp. 53
The Debug Settings Groupp. 54
The Automated Tasks Groupp. 54
The Extensions Groupp. 54
Datasource Options and Setupp. 54
Datasource Namep. 55
ODBC Driverp. 56
Descriptionp. 56
Database Filep. 56
Verifying a Datasourcep. 57
Starting and Stopping ColdFusion Servicep. 58
Building a Database and Organizing Datap. 63
Database Software Supported by ColdFusionp. 64
ColdFusion as a Database-to-Web Gatewayp. 65
ODBCp. 66
Creating a Data Mapp. 66
Introducing Data Relationshipsp. 69
Designing the Databasep. 71
Defining Columnsp. 72
Data Typesp. 74
The Importance of Keysp. 76
Creating Data Relationshipsp. 77
Table and Database Securityp. 80
Table Permissionsp. 81
Writing Data into a Databasep. 82
The Input Formp. 82
Importing Datap. 83
Web Inputp. 84
Finding the Data You Need: An Introduction to Queries and SQLp. 89
Examining the ColdFusion Queryp. 90
Exploring the Basics of the SELECT Statementp. 91
Qualifying a SELECT Statement with Conditionsp. 95
Relational Operatorsp. 95
Logical Operatorsp. 97
Using the IN and BETWEEN Operatorsp. 100
Using LIKEp. 103
Sorting and Evaluating Query Resultsp. 104
Ordering Output with ORDER BYp. 104
Checking for Duplicates with DISTINCTp. 107
Creating Your First Web Applicationp. 111
Defining a Sample Applicationp. 112
Examining the Databasep. 112
Creating and Sharing Foldersp. 115
Setting Up the Datasourcep. 116
Constructing Your First Templatesp. 118
The Queryp. 120
The Headerp. 121
The Output Sectionp. 122
The Footer Sectionp. 123
Viewing the Index Templatep. 124
Basic Troubleshootingp. 125
Creating the Second Template Pagep. 126
The Queryp. 126
The Header and Output Sectionsp. 127
The Footerp. 128
Changing the Contents of a Database with ColdFusionp. 135
Defining a Sample Applicationp. 136
Introducing [left angle bracket]CFINSERT[right angle bracket] and [left angle bracket]CFUPDATE[right angle bracket]p. 136
Understanding Web Formsp. 137
Creating an Input Form to Insert Datap. 140
The Queryp. 141
The Headerp. 142
The Formp. 142
Testing the Templatep. 145
Creating the Insert Pagep. 147
The Insertp. 147
The Body and Footerp. 148
Creating the Edit Interfacep. 150
Creating a Form to Edit Existing Datap. 152
The Queryp. 153
The Header and Form Sectionsp. 154
Creating the Update Pagep. 156
Troubleshooting Insert and Update Operationsp. 158
Week 1 In Reviewp. 161
At a Glancep. 163
Understanding ColdFusion Studiop. 165
Introducing ColdFusion Studiop. 166
Installing Studiop. 166
Studio Componentsp. 167
Editing Componentsp. 168
Resource Componentsp. 170
Accessing Remote Serversp. 170
Defining a Local or Remote Serverp. 171
Viewing Files or Datasources in the Resources Areap. 172
Working with the Editorp. 174
Edit Viewp. 176
Browse Viewp. 176
Design Viewp. 176
Studio's Helping Handp. 177
Tag Toolsp. 177
The Table Wizardp. 179
The Frame Wizardp. 180
The SQL Builderp. 181
Configuring Studio for Your Workp. 183
Studio's Help and Reference Functionsp. 184
Enhancing Your Applications with Variables and If-Then Statementsp. 187
Defining a Sample Applicationp. 188
Introducing the [left angle bracket]CFIF[right angle bracket] Tagp. 188
The [left angle bracket]CFELSE[right angle bracket] Tagp. 192
Creating an Application with [left angle bracket]CFIF[right angle bracket]p. 194
The Password-Check Pagep. 195
The Insert Pagep. 197
The Queryp. 197
Using Variable Scopesp. 198
The [left angle bracket]CFIF[right angle bracket] Statementp. 198
Defining Variables with [left angle bracket]CFSET[right angle bracket]p. 201
Creating the Counting Mechanismp. 202
Enhancing Output with Tables and Groupsp. 209
Understanding [left angle bracket]CFTABLE[right angle bracket]p. 210
Creating Output Tables with [left angle bracket]CFTABLE[right angle bracket]p. 210
[left angle bracket]CFTABLE[right angle bracket] in Text Modep. 211
[left angle bracket]CFTABLE[right angle bracket] in HTML Table Modep. 213
Creating Output Tables with HTML's [left angle bracket]Table[right angle bracket] Tagp. 216
Grouping Data to Organize Outputp. 219
Creating Output Using the Group Parameterp. 220
Making Long Pages Accessible with Index Linksp. 223
Using SQL's Distinct to Create Dynamic Index Linksp. 224
Enhancing Input Pages with Basic [left angle bracket]CFFORM[right angle bracket] Tagsp. 231
Understanding [left angle bracket]CFFORM[right angle bracket]p. 232
Using [left angle bracket]CFFORM[right angle bracket]p. 234
The [left angle bracket]CFINPUT[right angle bracket] Tagp. 236
The [left angle bracket]CFTEXTINPUT[right angle bracket] Tagp. 240
The [left angle bracket]CFSELECT[right angle bracket] Tagp. 241
The [left angle bracket]CFSLIDER[right angle bracket] Tagp. 246
Using Advanced Form Techniques to Manage Inputp. 251
Understanding SQL Updates, Inserts, and Deletesp. 252
Using SQL's Insert Commandp. 254
Using SQL's Update Commandp. 255
Using SQL's Delete Commandp. 258
Combining Multiple Form Actionsp. 261
Understanding [left angle bracket]CFTREE[right angle bracket] and [left angle bracket]CFTREEITEM[right angle bracket]p. 266
Using [left angle bracket]CFTREE[right angle bracket]p. 267
Using [left angle bracket]CFTREEITEM[right angle bracket]p. 270
Understanding [left angle bracket]CFGRID[right angle bracket]p. 271
Using [left angle bracket]CFGRIDUPDATE[right angle bracket]p. 274
Using ColdFusion to Handle E-mailp. 279
Understanding the [left angle bracket]CFMAIL[right angle bracket] Tagp. 280
Using [left angle bracket]CFMAIL[right angle bracket]p. 281
Defining a Default Mail Server in ColdFusion Administratorp. 283
Using Queries to Autorespond and Create Contentp. 284
Customizing Your Message with HTML Tagsp. 287
Sending Attachmentsp. 290
Using Queries to Send Mail to a Listp. 290
Getting Incoming Mail with [left angle bracket]CFPOP[right angle bracket]p. 293
Deleting Mail with [left angle bracket]CFPOP[right angle bracket]p. 295
Using ColdFusion Functions to Manipulate Datap. 301
Understanding Functionsp. 302
General Function Rulesp. 306
Function Inputp. 306
Case-Insensitive Function Namesp. 306
Delimiting Functionsp. 306
Nesting Functionsp. 307
Display and Formatting Functionsp. 307
DateFormat ()p. 308
DecimalFormat ()p. 309
DollarFormat ()p. 309
NumberFormat ()p. 309
ParagraphFormat ()p. 310
TimeFormat ()p. 311
YesNoFormat ()p. 313
Using String Functionsp. 313
Find () and FindNoCase ()p. 313
GetToken ()p. 314
Insert ()p. 314
LCase () and UCase ()p. 315
Len ()p. 315
LTrim () and RTrim ()p. 316
RepeatString ()p. 316
Replace ()p. 317
Date and Time Functionsp. 317
Defining Date/Time Objectsp. 318
Working with Date/Time Objectsp. 318
Introducing User-Defined Functionsp. 320
Week 2 In Reviewp. 325
At a Glancep. 327
Using Lists, Structures, and Arrays to Package Datap. 329
Understanding ColdFusion Listsp. 330
Creating ColdFusion Listsp. 331
Populating a List with [left angle bracket]CFSET[right angle bracket]p. 332
Populating a List with [left angle bracket]CFSET[right angle bracket] and the ListAppend Functionp. 333
Populating a List with a Queryp. 333
Populating a List with Data Passed by a Formp. 335
Reading List Values with [left angle bracket]CFLOOP[right angle bracket]p. 337
Understanding ColdFusion Structuresp. 340
Viewing the Contents of a Structurep. 342
Understanding ColdFusion Arraysp. 343
Defining and Populating Arraysp. 344
Reading Data from an Arrayp. 345
Using ColdFusion Client and Session Managementp. 351
Understanding ColdFusion's Web Application Frameworkp. 352
Using Application.cfmp. 352
Setting Values in Application.cfmp. 354
Understanding Statelessnessp. 354
Understanding ColdFusion's Client-State Managementp. 356
Using Client-State Managementp. 357
Reserved Client Variablesp. 360
Checking and Listing Client Variablesp. 361
Understanding Variable Scopesp. 362
Using Session Variablesp. 364
Understanding Application Variablesp. 365
Understanding Cookiesp. 366
Setting Cookiesp. 366
Reading Cookiesp. 366
Removing Cookiesp. 368
Secure Cookiesp. 368
Finding Text with Verityp. 371
Understanding Verityp. 372
Defining Verity Collections with ColdFusion Administratorp. 375
Indexing a Collection with ColdFusion Administratorp. 376
Searching Verity Collectionsp. 378
The Search Formp. 378
The Results Pagep. 380
Defining and Indexing Verity Collections with CFML Tagsp. 382
Using [left angle bracket]CFCOLLECTION[right angle bracket]p. 383
Using [left angle bracket]CFINDEX[right angle bracket]p. 383
Integrating Databases into Verity Collectionsp. 384
Adding Query Data to an Indexp. 385
Displaying Database Records as Search Resultsp. 386
Working with Files and Directoriesp. 391
Understanding How ColdFusion Works with Filesp. 392
Using [left angle bracket]CFFILE[right angle bracket] to Accept Uploadsp. 395
Assigning [left angle bracket]cffile[right angle bracket] Attributes Dynamicallyp. 398
Using [left angle bracket]cffile[right angle bracket] to Manage and Create Filesp. 400
Copying, Renaming, and Deleting Files with [left angle bracket]cffile[right angle bracket]p. 401
The Copy actionp. 403
The Rename actionp. 405
The Delete actionp. 406
Viewing File Object Attributesp. 407
Reading and Writing with [left angle bracket]cffile[right angle bracket]p. 409
The Read actionp. 410
The Write and Append actionsp. 411
Using [left angle bracket]cfdirectory[right angle bracket]p. 413
Using Advanced SQL Techniquesp. 417
Understanding Column Aliasesp. 418
Understanding Aggregate Functionsp. 421
Understanding Table Joinsp. 426
Understanding SQL Subqueriesp. 429
Understanding SQL Viewsp. 432
Creating Viewsp. 433
Accessing Viewsp. 435
Introducing Stored Proceduresp. 436
Querying Queriesp. 437
Using ColdFusion for E-Commerce Applicationsp. 441
Considering Prewritten Commerce Applicationsp. 442
Planning an E-Commerce Sitep. 443
Constructing an Administration Sectionp. 443
Constructing a Catalogp. 450
Creating a Display Page for Your Productsp. 450
Constructing a Shopping Cartp. 453
Constructing Transaction Pagesp. 460
Understanding E-Commerce Transaction Typesp. 462
Secure Web Transactionsp. 462
E-mail Orderingp. 463
Print-and-Fax Formsp. 464
Call-In Ordersp. 464
Unsecure Web Transactionsp. 464
Completing Your Store Applicationp. 465
Checkout_process.cfmp. 465
Checkout_complete.cfmp. 469
Using ColdFusion's Debugging Tools to Troubleshoot Your Codep. 475
Identifying the Source of Errorsp. 476
Understanding Error Messages Generated by Your Web Serverp. 476
Host Not Foundp. 476
404 Object Not Foundp. 477
URL Syntax Errorsp. 478
ColdFusion Not Runningp. 479
Understanding Error Messages Generated by ColdFusionp. 481
Mismatched Tagsp. 481
Unrecognized Tag Attributesp. 482
Missing Pound Signs or Quotation Marksp. 483
Error Resolving Parameterp. 484
Understanding Error Messages Generated by Your ODBC Driverp. 485
Datasource Not Foundp. 485
SQL Syntax or Logic Errorsp. 486
Other SQL Errorsp. 489
Understanding ColdFusion's Debugging Toolsp. 490
ColdFusion Administrator's Debugging Featuresp. 490
Enabling Debug Information for Specific Templatesp. 492
Restricting Debug Output to Certain Viewersp. 492
Using ColdFusion Studio's Document Validatorp. 493
Introducing ColdFusion Log Filesp. 495
Week 3 In Reviewp. 499
Answers to the Quiz and Exercise Questionsp. 501
ColdFusion Tagsp. 525
ColdFusion Functions
Indexp. 807
Table of Contents provided by Syndetics. All Rights Reserved.

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.