
ColdFusion MX 7 Getting Started Experience Tutorial Page 16 of 47
STEP 4: Connecting the Database to ColdFusion
There are two ways to register the database with ColdFusion MX. Before ColdFusion MX 7, you had to use the
ColdFusion MX Administrator. With Dreamweaver MX 2004 and ColdFusion MX 7, there is an easier way for developers
to perform the same task, inside Dreamweaver. This step shows how to do it both ways.
Database registration from within Dreamweaver
See the Code Snippets by Feature and Tasks section of the ColdFusion MX 7 Getting Started Experience for an animated
instructional demonstration of this feature.
Learning Point: ColdFusion MX 7 Extensions for Dreamweaver MX 2004
The Dreamweaver database registration feature is only available on Dreamweaver MX 2004 and only with the ColdFusion
MX 7 installation. If you had Dreamweaver MX 2004 installed at the time of ColdFusion MX 7 installation, the installer
prompted you to install these extensions. If you do not have it, you can download it at http://www.macromedia.com.
1. Make sure that the index.htm page is open.
2. Open the Database tab of the Application panel by selecting Windows > Databases from the menu bar.
Figure 23. Open Databases
tab
3. In the Databases tab, click the document type link to open the Choose Document Type dialog box. Select ColdFusion
from the drop-down list and click the OK button.
Figure 24. Open Choose
Document Type dialog box
Commenti su questo manuale