Sign In
Upload
Manuals
Brands
MACROMEDIA Manuals
Software
COLDFUSION 4.5-DEVELOPING WEB
MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Manuals
Manuals and User Guides for MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB. We have
1
MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB manual available for free PDF download: Develop Manual
MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual (380 pages)
Developing Web Applications with ColdFusion
Brand:
MACROMEDIA
| Category:
Software
| Size: 3.34 MB
Table of Contents
Table of Contents
3
Intended Audience
16
Welcome to the Coldfusion 4.5 Web Application Server
16
Products and System Requirements
17
New Features in Coldfusion 4.5
18
New Visual Tools
18
Enhancements to CFML
19
Better Reliability
19
Improved Performance
19
Enterprise Connectivity Features
20
Security Enhancements
20
Developer Resources
21
About Coldfusion Documentation
22
Documentation Updates
22
Coldfusion Manuals
22
Coldfusion Server Online Documentation
23
Printing Coldfusion Documentation
23
Documentation Conventions
24
Getting Answers
24
Contacting Allaire
24
Introduction to Coldfusion
27
Chapter 1: Introduction to Coldfusion
27
A Quick Web Overview
28
What You Should Already Know
28
What Is Coldfusion
29
Editions of Coldfusion
29
Coldfusion Features
29
Open Integration
30
Rapid Development
30
Scalable Deployment
30
Complete Security
31
Coldfusion Components
31
Coldfusion Administrator
32
Coldfusion Application Pages
32
Coldfusion Server
32
Coldfusion Studio
32
Data Sources
33
How Coldfusion Server Works
33
Application
35
Chapter 2: Writing Your First Coldfusion Application
35
The Development Process
36
Writing Code
36
Saving Application Pages
37
Viewing Application Pages
37
Variables
39
Adding more Variables to the Application
40
Development Considerations
40
Querying a Database
41
Chapter 3: Querying a Database
41
Publishing Dynamic Data
42
Database Basics
42
Understanding Data Sources
44
Open Database Connectivity (ODBC)
44
Adding Data Sources
45
Data Source Notes and Considerations
46
Retrieving Data
46
The CFQUERY Tag
46
Writing SQL
47
Basic SQL Syntax Elements
48
SQL Notes and Considerations
49
Building Queries
50
Query Notes and Considerations
51
Outputting Query Data
51
Query Output Notes and Considerations
52
Getting Information about Query Results
53
Query Properties Notes and Considerations
54
Retrieving and Formatting the
55
Chapter 4: Retrieving and Formatting the Data You Want
55
Using Forms to Specify the Data to Retrieve
56
Form Controls
56
FORM Tag Syntax
56
Form Notes and Considerations
60
Processing Form Variables on Action Pages
60
Dynamically Generating SQL Statements
60
Creating Action Pages
61
Form Variable Notes and Considerations
62
Using HTML Tables to Layout Query Results
63
Formatting Individual Data Items
64
Performing Pattern Matching
65
Filtering Data Based on Multiple Conditions
65
Creating Table Joins
66
Building Flexible Search Interfaces
66
Code Review
67
Returning Query Results to the User
68
Making Variables Dynamic
71
Chapter 5: Making Variables Dynamic
71
Dynamically Populating Select Boxes
72
Creating Dynamic Checkboxes and Multiple Select Boxes
73
Checkboxes
73
Multiple Select Lists
75
Testing for a Variable's Existence
77
Creating Default Variables with CFPARAM
77
Checking Query Parameters with CFQUERYPARAM
78
Dynamic SQL
79
Updating Your Data
85
Chapter 6: Updating Your Data
85
Inserting Data
86
Creating an HTML Insert Form
86
Data Entry Form Notes and Considerations
87
Creating an Action Page to Insert Data
87
Updating Data
88
Creating an Update Form
89
Creating an Action Page to Update Data
91
Deleting Data
92
Requiring Users to Enter Values in Form Fields
93
Validating the Data that Users Enter in Form Fields
94
Reusing Code
97
Chapter 7: Reusing Code
97
Ways to Reuse Code
98
Reusing Common Code with CFINCLUDE
98
About Custom Tags in CFML
99
Using Existing Custom Tags
99
Writing Custom CFML Tags
99
Passing Attribute Values between Custom Tags
100
Nesting Custom Tags
103
Passing Data between Nested Custom Tags
104
High-Level Data Exchange
104
What Data Is Accessible
104
Where Is Data Accessible
104
Passing Custom Tag Arguments Via CFML Structures
107
Executing Custom Tags
108
Tag Instance Data
108
Modes of Execution
109
Pattern of Execution
109
Specifying Execution Modes
109
Access to Generated Content
110
Terminating Tag Execution
110
Installing Custom Tags
111
Local Tags
111
Shared Tags
111
Managing Custom Tags
111
Resolving File Name Conflicts
111
Encoding Custom Tags
112
Securing Custom Tags
112
Debugging and Error Handling
115
Chapter 8: Debugging and Error Handling
115
Debug Settings in the Coldfusion Administrator
116
Error Messages
116
Generating Debug Information for an Individual Page
116
Generating Debug Information for an Individual Query
116
CFML Code Validation
117
Troubleshooting Common Problems
117
ODBC Data Source Configuration
117
CFML Syntax Errors
118
Http/Url
118
Generating Custom Error Messages (CFERROR)
119
Creating an Error Application Page
119
Overview of Exception Handling in Coldfusion
120
Types of Recoverable Exceptions Supported
121
Exception Information in CFCATCH
123
Tag Context Information
124
Database Exceptions
125
Expression Exceptions
125
Locking Exceptions
125
Missinginclude Exceptions
126
Exception Handling Strategies
126
Exception Handling Example
126
Custom Exception Types
128
With Structures
129
Chapter 9: Handling Complex Data with Structures
129
About Arrays
130
Creating an Array
131
Multidimensional Arrays
132
Basic Array Techniques
132
Adding Elements to an Array
133
Referencing Elements in Dynamic Arrays
133
Additional Referencing Methods
134
Populating Arrays with Data
134
Populating an Array with Arrayset
134
Populating an Array with CFLOOP
134
Using Nested Loops for 2D and 3D Arrays
135
Populating an Array from a Query
136
Array Functions
137
About Structures
139
Structure Notation
139
Creating and Using Structures
140
Adding Data to Structures
140
Creating Structures
140
Finding Information in Structures
141
Getting Information about Structures
141
Copying Structures
142
Deleting Structures
142
Structure Example
143
Using Structures as Associative Arrays
145
Looping through Structures
145
Structure Functions
146
Building Dynamic Forms
149
Chapter 10: Building Dynamic Forms
149
Creating Forms with the CFFORM Tag
150
CFFORM Controls
150
Using HTML in a CFFORM
150
Browsers that Disable Java
151
Improving Performance with ENABLECAB
151
Input Validation with CFFORM Controls
152
Input Validation with Javascript
153
Handling Failed Validation
153
Javascript Objects Passed to the Validation Routine
153
Building Tree Controls with CFTREE
155
Grouping Output from a Query
156
CFTREE Form Variables
157
Input Validation
158
Structuring Tree Controls
158
Image Names in a CFTREE
159
Embedding Urls in a CFTREE
160
Specifying Which Tree Items to Send to the Action Page
161
Creating Data Grids with CFGRID
161
Populating a Grid from a Query
162
Creating an Updateable Grid
163
Editing Data in a CFGRID
164
Building Slider Bar Controls
168
CFSLIDER Form Variable
168
Building Text Entry Boxes
168
CFTEXTINPUT Form Variable
169
Building Drop-Down List Boxes
169
Embedding Java Applets
170
Registering a Java Applet
171
Using CFAPPLET to Embed an Applet
172
Handling Form Variables from an Applet
173
Indexing and Searching Data
175
Chapter 11: Indexing and Searching Data
175
Searching a Coldfusion Web Site
176
Advantages of Using Verity
176
Online Verity Training
177
Supported File Types
177
Support for International Languages
178
Steps in Creating a Searchable Data Source
179
Creating a Collection
179
Creating a Collection with the CFCOLLECTION Tag
180
Using the Coldfusion Administrator to Create a Collection
180
Populating and Indexing a Collection
183
Selecting an Indexing Method
183
Building a Search Interface
185
Using the Verity Wizard in Studio
185
Basic Search Operations
186
Summarization
187
CFSEARCH Properties
188
Indexing Database Query Results
188
Indexing CFLDAP Query Results
189
Indexing CFPOP Query Results
190
Using Query Expressions
191
Explicit Query Expressions
192
Expression Syntax
192
Simple Query Expressions
192
Special Characters
194
Composing Search Expressions
194
Searching with Wildcards
196
Searching for Special Characters as Literals
196
Searching for Wildcards as Literals
196
Operators and Modifiers
197
Operators
197
Modifiers
204
Managing Collections
206
Maintenance Options
206
Securing a Collection
207
Framework
209
Chapter 12: Using the Application Framework
209
Understanding the Web Application Framework
210
Application-Level Settings and Functions in Application.cfm
210
Client State Management
210
Custom Error Handling
211
Web Server Security Integration
211
Mapping out an Application Framework
211
Behavior with CFINCLUDE
213
Creating the Application.cfm File
213
Naming the Application
214
Setting up Client State Management Options
214
Choosing a Client Variable Storage Method
215
Managing Client State in a Clustered Environment
216
Using Client State Management
216
Creating a Client Variable
217
Using Client Variables
217
Standard Client Variables
217
Using Client State Management Without Cookies
217
Getting a List of Client Variables
218
Deleting Client Variables
218
Exporting the Client Variable Database
219
Application and Session Variables
219
Enabling Application and Session Variables
219
Differentiating Client, Session, and Application Variables
220
Using Session Variables
220
What Is a Session
220
Storing Session Data in Session Variables
221
Using Application Variables
222
Storing Application Data in Application Variables
222
Application Variable Time-Outs
222
Tips for Using Session and Application Variables
223
Getting a List of Application and Session Variables
223
Default Variables and Constants
223
Using CFLOCK for Exclusive Locking
224
Using CFLOCK
225
Avoiding Deadlocks
225
CFLOCK Examples
226
Sending and Receiving Email
231
Sending Email Messages
232
Using Coldfusion with Mail Servers
232
Chapter 13 : Sending and Receiving Email
233
Sending SMTP Mail with CFMAIL
233
Samples Uses of CFMAIL
233
Sending Form-Based Email
234
Sending Query-Based Email
234
Customizing Email for Multiple Recipients
235
Sending Email to Multiple Recipients
235
Attaching a MIME File
236
Advanced Sending Options
237
Error Logging and Undelivered Messages
237
Receiving Email Messages
237
Sending Mail as HTML
237
CFPOP Query Variables
238
Handling POP Mail
239
Using CFPOP
238
Returning Only Message Headers
239
Returning an Entire Message
240
Returning Attachments with Messages
241
Deleting Messages
242
Managing Files on the Server
245
Uploading Files
246
Using CFFILE
246
Chapter 14 : Managing Files on the Server
248
Controlling the Type of File Uploaded
248
Setting File and Directory Attributes
249
Resolving Conflicting File Names
248
Unix
249
Windows
250
Evaluating the Results of a File Upload
250
Moving, Renaming, Copying, and Deleting Server Files
252
Reading, Writing, and Appending to a Text File
253
Reading a Text File
253
Writing a Text File
253
Performing Directory Operations
255
Returning File Information
255
Interacting with Remote Servers
257
Chapter 15 : Interacting with Remote Servers
258
Allaire Alive
258
Using the CFHTTP Get Method
258
Creating a Query from a Text File
260
Using the CFHTTP Post Method
262
Using Secure Sockets Layer (SSL) with CFHTTP
264
Performing File Operations with CFFTP
265
Using CFHTTP to Interact with the Web
258
Caching Connections Across Multiple Pages
266
Connection Caching Actions and Attributes
267
Moving Complex Data Structures Across the Web with WDDX
267
An Overview of Distributed Data for the Web
268
WDDX Components
268
Data Exchange Across Application Servers
269
Working with Application-Level Data
269
Time Zone Processing
269
How WDDX Works
270
Converting CFML Data to a Javascript Object
271
Transferring Data from Browser to Server
272
Connecting to Ldap Directories
275
What Is LDAP
276
Chapter 16 : Connecting to LDAP Directories
277
Key Terms
277
Coldfusion Support for LDAP
278
Viewing the Directory Schema
279
Working with LDAP Directories
279
Querying an LDAP Directory
280
Updating an LDAP Directory
282
LDAP Attributes
277
Creating Searchable CFLDAP Output
287
Application Security
289
Coldfusion Security Features
290
Remote Development Services (RDS) Security
290
Overview of User Security
291
Using Advanced Security in Application Pages
291
Using the CFAUTHENTICATE Tag
292
Chapter 17 : Application Security
293
Authentication and Authorization Functions
293
Using the Isauthenticated Function
293
Using the Isauthorized Function
293
Catching Security Exceptions
294
Using the CFIMPERSONATE Tag
295
Example of User Authentication and Authorization
296
Authenticating Users in Application.cfm
297
Checking for Authentication and Authorization
298
Building Custom Cfapi Tags
301
Chapter 18 : Building Custom CFAPI Tags
302
Before You Begin Developing CFX Tags in C
302
Sample C++ Cfxs
302
Setting up Your C++ Development Environment
302
What Are CFX Tags
302
Compiling C++ Cfxs
303
Debugging C++ Cfxs
303
Before You Begin Developing CFX Tags in Java
304
Sample Java Cfxs
304
Setting up Your Development Environment to Develop Cfxs in Java
305
Writing a Java CFX
305
Processing Requests
306
Java CFX Class Loading
308
Automatic Class Reloading
309
Life Cycle of Java Cfxs
309
Calling the CFX from a Coldfusion Template
310
Zipbrowser Example
310
Approaches to Debugging Java Cfxs
312
Outputting Debug Information
312
Using the Debugging Classes
312
Debugging Classes Reference
314
Using the Tag Wizard to Create Cfxs in C
303
Implementing C++ CFX Tags
315
Implementing Java CFX Tags
315
Java Customization and Configuration
315
Registering Cfxs
315
Distribution
317
C++ CFX Reference
319
Ccfxexception Class
320
Ccfxexception::getdiagnostics
320
Ccfxexception::geterror
320
Class Members
320
Ccfxquery Class
321
Class Members
321
Ccfxquery::addrow
322
Ccfxquery::getcolumns
322
Ccfxquery::getdata
323
Ccfxquery::getname
323
Ccfxquery::getrowcount
323
Ccfxquery::setdata
324
Ccfxquery::setquerystring
325
Ccfxquery::settotaltime
325
Ccfxrequest Class
325
Class Members
325
Ccfxrequest::addquery
326
Ccfxrequest::attributeexists
327
Ccfxrequest::createstringset
327
Ccfxrequest::debug
328
Ccfxrequest::getattribute
328
Ccfxrequest::getattributelist
328
Ccfxrequest::getcustomdata
329
Ccfxrequest::getquery
329
Ccfxrequest::getsetting
330
Ccfxrequest::rethrowexception
330
Ccfxrequest::setcustomdata
331
Ccfxrequest::setvariable
332
Ccfxrequest::throwexception
332
Ccfxrequest::write
333
Ccfxrequest::writedebug
333
Ccfxstringset Class
334
Ccfxstringset::addstring
334
Class Members
334
Ccfxstringset::getcount
335
Ccfxstringset::getindexforstring
335
Ccfxstringset::getstring
336
Java CFX Reference
337
Interface Customtag
337
Method Detail
337
Interface Query
338
Method Detail
338
Interface Request
342
Method Detail
343
Interface Response
347
Method Detail
347
Component Object Overview
352
Chapter 19 : Using CFOBJECT to Invoke Component Objects
352
About COM
352
About CORBA
352
About Java Objects
352
Invoking Component Objects
353
Calling Methods
353
Coding Guidelines
353
Calling Nested Objects
354
Getting Started with COM/DCOM
354
Registering the Object
354
Requirements for COM
354
Finding the Component Progid and Methods
355
Creating and Using COM Objects
357
Connecting to COM Objects
357
Setting Properties and Invoking Methods
358
Getting Started with CORBA
358
Calling a CORBA Object
359
Declaring Structures and Sequences
359
Exception Handling
360
Calling Java Objects
361
Calling Ejbs
361
Exception Handling
361
Chapter 20 : Extending Coldfusion Pages with CFML Scripting
364
About Cfscript
364
Cfscript Example
364
Supported Statements
364
The Cfscript Language
365
Statements
365
Comments
368
Differences from Javascript
368
Expressions
368
Variables
368
Reserved Words
369
Interaction of Cfscript with CFML
369
Getting Registry Values
372
Overview of Registry Access in Coldfusion
372
Chapter 21: Accessing the Windows NT Registry
373
Setting Registry Values
373
Deleting Registry Values
374
Index
375
Advertisement
Advertisement
Related Products
MACROMEDIA COLDFUSION 4.5- TO CFML
MACROMEDIA COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER
MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE
MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO
MACROMEDIA COLDFUSION 4.5
MACROMEDIA COLDFUSION MX 61 - INSTALLING COLDFUSION MX FOR IBM WEBSPHERE APPLICATION SERVER
MACROMEDIA 38000382 - Macromedia JRun - Mac
MACROMEDIA 38028779 - Macromedia Dreamweaver - Mac
MACROMEDIA BREEZE
MACROMEDIA BREEZE 5
MACROMEDIA Categories
Software
More MACROMEDIA Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL