Exercise 2: Setting Up Your Development Environment - MACROMEDIA COLFUSION MX 7-GETTING STARTED BUILDING COLDFUSION MX Getting Started

Building coldfusion mx applications
Table of Contents

Advertisement

Note: When you use the J2EE configuration, the cfdocs directory is under the ColdFusion web
application root. For more information, see
ColdFusion MX installs two copies of the sample CompassTravel database file. The working copy
is located in the db directory; a backup copy of the file is in the new_user_database directory.
To ensure that you are working with the original database file, verify that the file in the db
directory has the same date as the backup file in the new_user_database directory. If the date of
the file in the db directory is later than the backup file, replace the file in the db directory with a
copy of the backup database.
Caution: Do not write to the database file in the new_user_database directory. The backup file lets
multiple users perform the tutorial.
In each of the database subdirectories, the tutorial provides one sample database file for Microsoft
Windows users and one sample database file for UNIX users. Windows users use a Microsoft
Access file, and UNIX users use a PointBase file.
Note: The sample PointBase file consists of two files: compasstravel.dbn and compasstavel$1.wal.
ColdFusion MX uses both of these files to work with the content in the sample PointBase database.
Save all the files that you create for the tutorial application in the my_app directory. This
directory contains one subdirectory for images. The image subdirectory contains the required
image files for the tutorial application.
The photos directory contains the required photo files for the tutorial application. The solutions
directory provides sample application files that you can use when building the tutorial
application.

Exercise 2: Setting up your development environment

If you are running ColdFusion in a Windows environment, Macromedia recommends that you
use Macromedia Dreamweaver MX for ColdFusion development; however, if you are running
ColdFusion in a UNIX environment, you should use the text editor that you prefer. Although
Dreamweaver MX offers features that help you create ColdFusion applications quickly and easily,
you can still follow the steps of the tutorial by entering or copying the code examples into your
editor.
Note: To use the Dreamweaver Extensions included with ColdFusion MX 7, you must use
Macromedia Dreamweaver MX 2004 version 7.0.1.
About Macromedia Dreamweaver MX
Macromedia Dreamweaver MX is the preferred development environment for building
ColdFusion MX 7 applications. It supports the latest ColdFusion MX 7 features, and it combines
superior code editing features with the visual design features of Dreamweaver. You can build
ColdFusion MX 7 applications by writing the code manually or generating the code by using one
of the code-generating tools provided with Dreamweaver MX. In addition, ColdFusion MX 7
provides extensions to Dreamweaver that let you perform some administrative tasks without
leaving the Dreamweaver environment and generate code for some of the most common tasks
you encounter when creating a ColdFusion application.
50
Chapter 5: Lesson 2: Configuring Your Development Environment
"Saving your ColdFusion page" on page
17.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents