Database Connections For Coldfusion Developers - Adobe 38040334 - Dreamweaver CS3 User Manual

Pc
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Before you start, make sure you meet the following requirements:
You have access to a web server. The web server can be running on your local computer, on a remote computer
such as a development server, or on a server maintained by a web hosting company.
An application server is installed and running on the system running your web server.
You created a root folder for your web application on the system running your web server.
Defining a Dreamweaver site for your web application consists of three steps:
1. Define a local folder
The local folder is the folder you use to store working copies of site files on your hard disk. You can define a local
folder for each new web application you create. Defining a local folder also gives you the ability to manage your files
and to transfer files to and from your web server easily.
2. Define a remote folder
Define a folder located on the computer running your web server as a Dreamweaver remote folder. The remote folder
is the folder you created for your web application on the web server.
3. Define a testing folder
Dreamweaver uses this folder to generate and display dynamic content and connect to databases while you work.
The testing server can be your local computer, a development server, a staging server, or a production server. As long
as it can process the kind of dynamic pages you plan to develop, the choice doesn't matter.
After the Dreamweaver site is defined, you can start building your web application.
See also
"Setting up a Dreamweaver site" on page 40
"Set up and edit a local root folder" on page 42
"Set up a remote folder" on page 43
"Set up a testing server" on page 48

Database connections for ColdFusion developers

Connecting to a ColdFusion database
When developing a ColdFusion web application in Dreamweaver, you connect to a database by selecting a
ColdFusion data source defined in Dreamweaver or in ColdFusion Administrator, the server's management console.
Before connecting to a database, you must set up a ColdFusion web application. You must also set up a database on
your local computer or on a system to which you have network or FTP access.
Make sure that Dreamweaver knows where to find the ColdFusion data sources. To retrieve the ColdFusion data
sources at design time, Dreamweaver places scripts in a folder on the computer running ColdFusion. You must
specify this folder in the Testing Server category of the Site Definition dialog box.
Next, you must create a ColdFusion data source in Dreamweaver or in ColdFusion Administrator (if one doesn't
already exist). After creating a ColdFusion data source, you can use it in Dreamweaver to connect to the database.
September 4, 2007
DREAMWEAVER CS3
508
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents