Macromedia colfusion mx 7-getting started building coldfusion mx applications User Manual
Exercise 2: Setting up your development environment
51
With Dreamweaver MX, you can author and test your application code from a local or remote
client. You can save your code directly to the server computer where ColdFusion is installed. The
following sections provide an overview of Dreamweaver MX, and information on how to
configure Dreamweaver MX for ColdFusion development.
client. You can save your code directly to the server computer where ColdFusion is installed. The
following sections provide an overview of Dreamweaver MX, and information on how to
configure Dreamweaver MX for ColdFusion development.
Features for ColdFusion developers
Dreamweaver MX provides a wide variety of code editing features for ColdFusion developers,
including the following:
including the following:
•
Extensions that generate code for common ColdFusion application tasks.
•
Extensions that let you perform administrative tasks without leaving the Dreamweaver
environment.
environment.
•
Rich tag editors for quickly setting attributes and values for every CFML tag.
•
Code hints for writing CFML tag attributes.
•
A code validator for validating code readiness against other ColdFusion versions.
•
A tag chooser with integrated reference material for inserting ColdFusion tags.
•
A snippets panel for reusing code.
•
An integrated debugging display for quickly pinpointing problem areas in the code.
•
A remote ColdFusion server connection for browsing remote data sources and files.
•
ColdFusion MX documentation included in the Dreamweaver MX online Help.
To use Dreamweaver MX to build the sample ColdFusion application in this tutorial, see the
following sections for information about configuring Dreamweaver for ColdFusion development.
following sections for information about configuring Dreamweaver for ColdFusion development.
Configuring Dreamweaver MX for ColdFusion development
Before you use Dreamweaver MX to create the sample application in this tutorial, you must
configure Dreamweaver to use the ColdFusion MX 7 Extensions for Dreamweaver, which are
included with ColdFusion MX 7. You must also define the connection to the sample database
file. The Extensions simplify the process of configuring database connections.
configure Dreamweaver to use the ColdFusion MX 7 Extensions for Dreamweaver, which are
included with ColdFusion MX 7. You must also define the connection to the sample database
file. The Extensions simplify the process of configuring database connections.
To configure Dreamweaver MX to create the sample application:
1.
Install the ColdFusion MX 7 Extensions for Dreamweaver by double-clicking the
cfmx7dreamweaverextensions.mxp file, which is located in the cf_root/wwwroot/CFIDE/
installers directory.
cfmx7dreamweaverextensions.mxp file, which is located in the cf_root/wwwroot/CFIDE/
installers directory.
2.
Create a site that contains the tutorial files.
3.
Specify ColdFusion as the application document type.
4.
Specify ColdFusion as the site application server technology. For information about how to
perform these steps, see the Dreamweaver MX online Help or Using Dreamweaver MX.
perform these steps, see the Dreamweaver MX online Help or Using Dreamweaver MX.
5.
Specify the RDS login information for the site.
Tip: If you are a new Dreamweaver MX user, you can perform the Dreamweaver MX tutorial before
using Dreamweaver MX to build the sample application. The tutorial in this book does not describe
how to use Dreamweaver. The purpose of this tutorial is to teach you how to build ColdFusion
applications using ColdFusion Markup Language (CFML).
using Dreamweaver MX to build the sample application. The tutorial in this book does not describe
how to use Dreamweaver. The purpose of this tutorial is to teach you how to build ColdFusion
applications using ColdFusion Markup Language (CFML).