Creating a Mapping

I l @ ve RuBoard

The first time you launch ColdFusion Studio, the initial configuration wizard leads you through setting up some (optional) preferences and creating a development mapping. A development mapping allows you to view your ColdFusion files in ColdFusion Studio. The development mapping lets the browser know where it should process pages. Any page that contains ColdFusion code must be processed . You can view plain HTML pages in ColdFusion Studio with no development mapping at all. ColdFusion Studio uses Internet Explorer as its default internal browser.

  1. Click Start > Programs > Macromedia ColdFusion Studio 5 > ColdFusion Studio 5.

  2. Click Next .

    This will bring you to the Debug Settings screen where you will be able to add a Remote Development Server (RDS). Previously you turned off RDS service. Now you will add a remote development server to work with the service. This allows you to view pages processed by the ColdFusion Server within ColdFusion Studio, rather than having to open an external browser to view them.

    You should see "localhost" in the list of development servers. Localhost is exactly what it sounds likeyour local machine. You can have multiple remote development servers. If you use multiple development machines (for instance, one for testing, one for client viewing, and one for production) you could have an RDS for each. If you do not see localhost, make sure that the ColdFusion server software is running.

  3. Select localhost and click Edit RDS Server.

    This brings up the Debug Mappings screen. A mapping defines how a specific directory is seen by ColdFusion Server, ColdFusion Studio, and a browser (Internet Explorer is the default browser).

  4. Click Add Mapping.

    This brings you to the Add RDS Server Mapping screen. Here you add your Studio path, ColdFusion Server path, and a browser path . This is what allows you to view processed ColdFusion pages inside ColdFusion Studio rather than in an external browser.

  5. Click the browse icon next to the Studio Path field and browse to your Web publishing directory.

    The browse icon looks like a small, open folder.

    Your Web publishing directory should be C:\Inetpub\ wwwroot , unless you chose a different directory when you installed Personal Web Server. This is also the directory for the ColdFusion Server path. Your Web browser path should be http://127.0.0.1. The http address is the IP (internet protocol) of your local machine, which will always be 127.0.0.1.

  6. Click OK.

    You return to the Debug Mappings screen. The Studio path, CF Server path, and Browser path now all have values associated with them.

  7. Click Next.

    The Development Style screen will appear. Unless you want to develop with ASP or JSP, you can leave the items on this screen alone.

  8. Click Next.

    Finally, the Configuration Progress screen appears. If you want to make any changes to your selections, now is the time to do so. Click Back until you reach the screen you want, make your changes, and continue.

  9. Click Finish.

    Once you have clicked Finish, ColdFusion Studio will open.

I l @ ve RuBoard


Macromedia ColdFusion 5. Training from the Source
Macromedia ColdFusion 5 Training from the Source (With CD-ROM)
ISBN: 0201758474
EAN: 2147483647
Year: 2002
Pages: 99
Authors: Kevin Schmidt

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net