Title:
Programming the web with coldfusion MX 6.1 using XHTML
Personal Author:
Publication Information:
New York : McGraw Hill, 2004
ISBN:
9780072890327
Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000010122060 | QA76.9.W43 P73 2004 | Open Access Book | Book | Searching... |
Searching... | 30000010138056 | QA76.9.W43 P73 2004 | Open Access Book | Book | Searching... |
Searching... | 30000010116998 | QA76.9.W34 P73 2004 | Open Access Book | Book | Searching... |
Searching... | 30000010116997 | QA76.9.W43 P73 2004 | Open Access Book | Book | Searching... |
On Order
Summary
Summary
Programming the Web with Cold Fusion is the latest addition to the Web Developer Series. This text has been written in a textbook fashion at an introductory level for ColdFusion MX students. Learning is facilitated with examples and exercises in each chapter. Students are encouraged to try out examples in the classroom and observe results right away. Careful attention has been placed on concepts where novice programmers encounter most difficulty. This textbook makes an ideal reference after a student has joined the workforce as a ColdFusion programmer.
Table of Contents
Chapter 1 ColdFusion MX 6.1 | p. 1 |
Client/Server Technologies | p. 1 |
Client- versus Server-Side Technologies | p. 2 |
Architecture and Dynamics of a Web Application | p. 2 |
History of ColdFusion | p. 5 |
ColdFusion MX | p. 5 |
ColdFusion MX 6.1 | p. 7 |
ColdFusion MX 6.1 Developer Edition | p. 8 |
System Requirements | p. 8 |
Databases Supported by ColdFusion MX 6.1 | p. 8 |
Instructions for Installing ColdFusion MX 6.1 (Developer Edition), Part 1 | p. 8 |
ColdFusion MX 6.1 Installation, Part 2: Configuration and Settings Wizard | p. 14 |
Writing a "Hello World" Program in ColdFusion | p. 15 |
ColdFusion Administrator | p. 19 |
Server Settings | p. 20 |
Data & Services Settings | p. 21 |
Debugging & Logging Settings | p. 21 |
Extensions Settings | p. 21 |
Security Settings | p. 21 |
Organization of the Book | p. 22 |
Chapter 2 ColdFusion: Basics | p. 27 |
Dynamic versus Static Web Pages | p. 27 |
Variables, Expressions, and Operators | p. 31 |
ColdFusion Variables | p. 31 |
Operators and Operations | p. 40 |
Expressions | p. 40 |
Using Functions to Test the Value of Input | p. 43 |
[left angle bracket]cfparam[right angle bracket] Tag | p. 45 |
Variable Scoping in ColdFusion | p. 48 |
Persisting Variables | p. 49 |
Web Application Framework | p. 49 |
Application-Level Settings | p. 49 |
Client-Level Scoping | p. 50 |
Setting a Cookie | p. 51 |
Session-Level Variable Scoping | p. 53 |
Application-Level Scoping | p. 54 |
Locking Shared-Scope (Session- and Application-Level) Variables | p. 54 |
URL Variables | p. 58 |
Variable Scope and Performance | p. 60 |
Chapter 3 ColdFusion Control Structures (CFML Flow) | p. 65 |
Control Structures | p. 65 |
Selection Structures or Conditional Statements | p. 66 |
Testing Multiple Conditions | p. 71 |
Testing for a Compound Conditional Statement | p. 73 |
[left angle bracket]cfswitch[right angle bracket] and [left angle bracket]cfcase[right angle bracket] Tags | p. 76 |
Predicate Function is Defined | p. 78 |
Loop Structures | p. 80 |
Index Loops | p. 80 |
List Loops | p. 83 |
Conditional Loops | p. 86 |
Chapter 4 Forms | p. 95 |
Creating ColdFusion Forms | p. 96 |
HTML Forms Overview | p. 96 |
ColdFusion Forms | p. 96 |
Form Elements | p. 97 |
ColdFusion Error Pages | p. 99 |
Form Processing in ColdFusion | p. 100 |
Processing Input from Radio Buttons | p. 102 |
Preventing Radio Button Processing Errors | p. 107 |
Preselection of Radio Buttons | p. 108 |
Processing Input from Checkboxes | p. 108 |
Preventing Checkbox Processing Errors | p. 113 |
Setting Parameters with Default Values | p. 113 |
Checking If Form Variables Are Defined before Using Them | p. 115 |
Processing Input from List Boxes | p. 115 |
Preventing Drop-Down List Processing Errors | p. 119 |
Processing Input from a textarea | p. 121 |
Formatting and Wrapping a textarea | p. 124 |
Validation of Form Fields | p. 125 |
Server-Side Validation in ColdFusion | p. 127 |
Enhancing Functionality with [left angle bracket]cfform[right angle bracket] | p. 133 |
Creating Forms Using [left angle bracket]cfform[right angle bracket] | p. 133 |
[left angle bracket]cfinput[right angle bracket] as a Form Element | p. 134 |
Client-Side Validation Using [left angle bracket]cfinput[right angle bracket] | p. 134 |
[left angle bracket]cfselect[right angle bracket] as a Form Element | p. 138 |
ColdFusion Forms and Databases | p. 142 |
Chapter 5 Database Basics: Connectivity, Simple Queries, and Security Issues | p. 153 |
Cold Fusion and Database Interaction | p. 154 |
Creating a Data Source | p. 155 |
Setting Up a Connection to an Access Database Stored Locally | p. 155 |
Accessing the Data Source via SQL Select, [left angle bracket]cfquery[right angle bracket], and [left angle bracket]cfoutput[right angle bracket] to Retrieve and Display Data | p. 158 |
The [left angle bracket]cfquery[right angle bracket] Tag and SQL Select | p. 158 |
The [left angle bracket]cftable[right angle bracket] Tag | p. 163 |
Partial Record Sets | p. 164 |
The [left angle bracket]cfgrid[right angle bracket] Tag | p. 166 |
Managing Data: Insert, Update, and Delete Records | p. 170 |
The [left angle bracket]cfinsert[right angle bracket] Tag | p. 170 |
SQL Insert Statement for ColdFusion | p. 173 |
SQL Update | p. 174 |
SQL Delete | p. 178 |
SQL Join | p. 180 |
The [left angle bracket]cfselect[right angle bracket] Tag | p. 182 |
Security Issues of Databases on the ColdFusion Server | p. 185 |
Security Provided by Database Systems | p. 185 |
Create Views in MS Access | p. 186 |
Security Provided by ColdFusion to Maintain Database Integrity | p. 188 |
Chapter 6 Advanced Database Features | p. 197 |
SQL Aggregate Functions | p. 197 |
Min and Max Aggregate Functions | p. 198 |
The Group By/Order By Command | p. 200 |
Transaction Processing and Security of the Database | p. 204 |
The [left angle bracket]cftransaction[right angle bracket] Tag | p. 204 |
Stored Procedures | p. 212 |
ColdFusion and MS Access Querying a Query | p. 212 |
Dynamic SQL | p. 215 |
Working with Dates | p. 219 |
Chapter 7 Built-In Functions | p. 229 |
String Manipulation | p. 230 |
Trimming Strings | p. 230 |
Justifying Strings | p. 233 |
Changing String Case | p. 236 |
Wrapping Strings | p. 236 |
String Encryption and Decryption | p. 237 |
Extracting Substrings | p. 241 |
Searching and Replacing Strings | p. 244 |
Decision or Boolean Functions | p. 248 |
Mathematical Functions | p. 248 |
Date and Time Functions | p. 252 |
Creating Date/Time Objects | p. 253 |
Formatting Dates | p. 253 |
Date Arithmetic | p. 254 |
Functions to Extract Parts of Dates | p. 254 |
Other Date Functions | p. 255 |
Decision or Boolean Date Functions | p. 255 |
Evaluation of Expressions | p. 259 |
Evaluate() as a Dynamic Evaluation Function | p. 259 |
Business Example for Evaluate() | p. 261 |
System Functions | p. 266 |
Chapter 8 Complex Data Types | p. 281 |
Introduction to Complex Data Types | p. 281 |
Lists | p. 282 |
List Functions | p. 282 |
Arrays | p. 285 |
Array Dimensions | p. 285 |
Creating and Accessing Arrays | p. 285 |
Array Manipulation Functions | p. 286 |
Looping through One-Dimensional Arrays | p. 290 |
Looping through Multidimensional Arrays | p. 292 |
Structures | p. 294 |
Property Notation | p. 294 |
Associative Array Notation | p. 297 |
Structure Functions | p. 298 |
Collection Loops | p. 299 |
Building a Multi-Item Shopping Cart | p. 299 |
Server-Side Scripting | p. 303 |
Chapter 9 Modular Code | p. 317 |
Modular Coding | p. 317 |
Using Include Files | p. 318 |
User-Defined Functions | p. 320 |
CFScript Method for UDFs | p. 321 |
Functions and Variable Scope | p. 324 |
[left angle bracket]cffunction[right angle bracket] Tag for UDFs | p. 324 |
Reusing Code with Custom Tags | p. 327 |
Where to Save Custom Tags | p. 327 |
Custom Tag Variables and Scope | p. 328 |
Paired Tags | p. 330 |
ColdFusion MX Components | p. 333 |
Business Example Using ColdFusion Components | p. 335 |
CFC and Object-Oriented Technologies | p. 342 |
Chapter 10 Cool Features | p. 347 |
Suppressing Output | p. 348 |
Debugging | p. 349 |
Using the [left angle bracket]cftrace[right angle bracket] Tag | p. 349 |
Exception Handling | p. 352 |
Exception-Handling Syntax | p. 353 |
Custom Exceptions | p. 353 |
Attributes of [left angle bracket]cfcatch[right angle bracket] | p. 354 |
Message and Detail | p. 354 |
Sitewise Error Handling | p. 360 |
[left angle bracket]cferror[right angle bracket] Syntax | p. 360 |
The Error Object | p. 361 |
Logging Messages | p. 365 |
Abort Processing | p. 368 |
Template Redirection | p. 369 |
File Handling | p. 373 |
Sending Email | p. 377 |
Attaching Files and Headers to Email | p. 378 |
Multipart Email Messages | p. 378 |
Graphs and Charts | p. 383 |
The [left angle bracket]cfchart[right angle bracket] Tag | p. 383 |
The [left angle bracket]cfchartdata[right angle bracket] Tag | p. 384 |
The [left angle bracket]cfchartseries[right angle bracket] Tag | p. 385 |
Graphs with Multiple Data Series | p. 387 |
Generating XML | p. 390 |
Chapter 11 E-Commerce Shopping Cart Application | p. 399 |
E-Commerce and the Shopping Cart | p. 400 |
High-Level Flow Diagram | p. 401 |
Data Structures | p. 402 |
The Item Structure | p. 402 |
The Shopping Cart Structure | p. 403 |
Session Variables | p. 406 |
The Application.cfm File | p. 406 |
Include Files | p. 407 |
Header File | p. 407 |
Footer File | p. 409 |
Sitewise Error Handling | p. 412 |
Product Catalog | p. 414 |
ColdFusion Component to Get the Product List | p. 414 |
Displaying the Products | p. 415 |
Shopping Cart | p. 419 |
Customer Information Page | p. 430 |
Order Review Page | p. 445 |
Order Confirmation Page | p. 455 |
Shopping Cart Enhancements | p. 465 |
Product Catalog Page | p. 465 |
Customer Information Page | p. 466 |
Order Review Page | p. 466 |
Order Confirmation Page | p. 466 |
Other Suggested Projects | p. 467 |
Project 1 Online Customer Service Application | p. 467 |
Project 2 Online Student Course Registration | p. 467 |
Appendix A SQL Commands | p. 471 |
Appendix B XHTML versus HTML Tags Ordered by Function | p. 477 |