ColdFusion
  Home arrow ColdFusion arrow Page 4 - Welcome to Coldfusion MX 6.1, concluded
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
COLDFUSION

Welcome to Coldfusion MX 6.1, concluded
By: Apress Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2005-12-29

    Table of Contents:
  • Welcome to Coldfusion MX 6.1, concluded
  • Data and Services
  • Debugging and Logging
  • Setting Up a Site in Dreamweaver MX 2004
  • Getting Started with CFML

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Welcome to Coldfusion MX 6.1, concluded - Setting Up a Site in Dreamweaver MX 2004


    (Page 4 of 5 )

    Dreamweaver MX 2004 is the recommended IDE for developing CFML applications, and it does everything in the context of a site. Fortunately, setting up a ColdFusion MX 6.1–based site in Dreamweaver MX 2004 is extremely easy. Follow the simple steps listed here, and you will be ready to start developing your web site. Because we required only the basic features for setting up my site, and the site definition wizard nicely steps through each required piece of information, we use it in the following section. If you need any additional features, simply click on the Advanced tab at any time and enter your custom settings along with the following ones.

    1. In Dreamweaver MX 2004, open the Files panel and select the Site tab. In the site menu at the top, click Manage Sites->New->Site, and the site definition wizard dialog box will open. If the Basic tab is not already selected at the top of your screen, select it.
    2. You must give your site a name (Figure 1-1). For the purpose of this example, call it “cfbook” and click Next. (This name needs to be a unique identifier for Dreamweaver MX 2004.)
                                        


      Figure 1-1.  Enter the name of your site into this
                            box.
       
    3. You want to use a server technology to build your web site, so make sure the “Yes, I want to use a server technology” option is selected here. For the server technology, select ColdFusion from the drop-down menu as shown in Figure 1-2. Click on the Next button.
                                        

      Figure 1-2. Select ColdFusion as the server  
                           technology you want to use.
       
    4. You will be working with your files locally during development, so in the Editing Files, Part 3 section of the Site Definition dialog box, choose the first option and enter the path to a folder to store your ColdFusion MX 6.1 files in (see Figure 1-3). If you want or need to edit your files on a remote server (or edit them locally then upload them) using FTP, enter the location of the remote server at this point.

      Here, you will be using the default location specified by Dreamweaver MX 2004. This will be the install location of ColdFusion MX 6.1, typicallyC:\CFusionMX. The Web-root directory for ColdFusion MX 6.1 iswwwroot—within this, create a new folder for this site. You will probably want to use the site name, but this can be changed by using the browse button (the folder icon to the right) or by typing in a new name. When finished, press the Next button.
                                         

      Figure 1-3. Choose where to edit and store files.
    5. For the Testing Files section of the Site Definition dialog box, enter your local testing server and the root folder for this particular site. If using the standalone server, enter a URL similar to the following:http://localhost:8500/cfbook. If you are unsure, click on the Test URL button, which checks whether you are using a valid address. As long as ColdFusion MX 6.1 is running and you are targeting a valid server, you will be presented with a message that says “The URL Prefix test was successful” as seen in Figure 1-4.
      If you get an error message, make sure your server is running and that you are using the correct port number. If you were running a server such as IIS, your URL would behttp://localhost/cfbook. If you were using a remote server running ColdFusion MX 6.1, this would be the location provided by the company hosting your site. When finished, click Next. 
                                       

      Figure 1-4.
      Successful URL prefix dialog 
    6. Finally, in the Site Definition dialog box, select the No radio button if you do not want to upload your files to another machine (see Figure 1-5).

      We will not be using this feature in this book. However, you may want to use this for testing if your ColdFusion MX 6.1 server is on another machine or on your hosting provider’s server. Click the Next button.
                                           

      Figure 1-5.  If you are not using a remote server,
                            click the No option.
       
    7. When finished, you will see a summary screen showing all your settings. To further configure these settings, select the Advanced tab at this time and make the desired modifications. Otherwise, click on the Done button.

    Now you are back in Dreamweaver MX 2004, and you should notice a few changes in the authoring environment. First, there are certain additions specific to ColdFusion MX 6.1 in the Application panel group (Database, Bindings, Server Behaviors, and Components). You can define RDS logins (the RDS password is the one you defined earlier during installation), create data sources, and select Recordsets using these new features. The Insert bar now has tabs for CFML (and are labeled appropriately).

    More ColdFusion Articles
    More By Apress Publishing


       · This article is an excerpt from the book "ColdFusion Web Development with...
     

    Buy this book now. This article is excerpted from chapter one of the book ColdFusion Web Development with Dreamweaver MX 2004, written by Jen and Peter deHaan et al. (Apress, 2004; ISBN: 1590592379). Check it out at your favorite bookstore today. Buy this book now.

    COLDFUSION ARTICLES

    - How to Access a SQL Anywhere Database with C...
    - CFXML: Probing XMLDOM in ColdFusion
    - Creating a Web Service with ColdFusion: the ...
    - CFAjax: What it is and How to Use it
    - Querying SQL 2000 Server from ColdFusion
    - Introduction to ColdFusion Markup Language, ...
    - Introduction to ColdFusion Markup Language
    - Databases and Dreamweaver MX 2004, concluded
    - Databases and Dreamweaver MX 2004
    - Welcome to Coldfusion MX 6.1, concluded
    - Welcome to Coldfusion MX 6.1
    - What You Must Know About ColdFusion Flow-Con...
    - What You Must Know About Operators in ColdFu...
    - Everything You Must Know About ColdFusion Va...
    - My First Application on ColdFusion MX Server






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT