Specifying where to process dynamic pages

Specifying where to process dynamic pages

After you define the Dreamweaver remote folder, specify a folder to process dynamic pages. Dreamweaver uses this folder to display dynamic pages and connect to databases while you’re developing your application.

To specify the folder to process dynamic pages:

  1. In the advanced Site Definition dialog box, click Testing Server in the Category list.

    The Testing Server screen appears. Dreamweaver needs the services of a testing server to generate and display dynamic content 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 ColdFusion pages. In many situations, including setting up for the Cafe Townsend site, you can use the same settings as the Remote Info category (see Defining a remote folder) because they point to a server capable of processing ColdFusion pages.

  2. Select ColdFusion from the Server Model pop-up menu.
  3. In the Access pop-up menu, select the same method (Local/Network or FTP) that you specified for accessing your remote folder.

    Dreamweaver enters the settings you specified in the Remote Info category. Leave the settings unchanged.

  4. In the URL Prefix text box, enter the root URL you would enter in a web browser to request a page in your web application.

    To display live data in your pages while you work, Dreamweaver creates a temporary file, copies it to the website’s root folder, and attempts to request it by using the URL prefix.

    If the folder specified in the Remote Folder text box is c:\CFusionMX7\wwwroot\MySampleApps, the URL prefix should be as follows:

    http://localhost:8500/MySampleApps/

  5. Click OK to define the site and dismiss the Site Definition dialog box, and then click Done to dismiss the Manage Sites dialog box.

After you specify a folder to process dynamic pages, upload the sample files to the web server. (See Uploading the sample files.)



Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly