This article, the first of two parts, explains how to use ColdFusion 6.1 in conjunction with Dreamweaver MX 2004 to build dynamic web sites. It 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).
Welcome to Coldfusion MX 6.1 - Integration with Studio MX (Page 2 of 5 )
As you already know, the Developer Version of ColdFusion MX 6.1 is bundled with Studio MX 2004. The Developer version is fully functional and free, but restricted to requests from a single IP address. You will find support for CFML and for ColdFusion MX 6.1 in most of these products, some more than others. For example, there is not much integration with FreeHand MX and Fireworks MX, but they are primarily graphics-based products used to design web site front-ends, so this is to be expected. On the other hand, you can use Flash MX 2004 (standard or professional), Dreamweaver MX 2004, and HomeSite+ in conjunction with ColdFusion MX 6.1 to create dynamic web sites more efficiently than ever because of their integration with the server. Other new products, such as Flex, also integrate with ColdFusion MX 6.1 very well. Flex is Macromedia’s new server product that generates Rich Internet Application (RIA) interfaces from XML (see www.macromedia.com for more information about Flex).
This section outlines some of the key points regarding the integration of ColdFusion MX 6.1 with other products in the Studio MX suite.
Since Flash 4, developers have been able to integrate server-side languages with Flash movies. With the introduction of Flash Remoting in Flash MX, ColdFusion MX and Flash have been brought together in an entirely new way. This is still true for ColdFusion MX 6.1. Flash Remoting offers an efficient, lightweight, and easy-to-use method for integrating ColdFusion MX 6.1 with Flash movies. Flash MX 2004 also has improved support for consuming web services and XML data—and it should come as no surprise that ColdFusion MX 6.1 has excellent support for XML and for web services. These technologies make it easy to share data between Flash applications and ColdFusion applications without having to write more than a couple lines of code!
Macromedia’s support for integrating ColdFusion MX 6.1 with Flash is certainly the strongest when it comes to server-side support. Flex, a server-side Flash generation server, is one such example. Who knows what might be next? Expect to see further advancements in the near future.
For more information on Flash integration with ColdFusion MX 6.1, refer to Chapter 12.
HomeSite+ is an enhanced version of Macromedia’s HomeSite 5 and ColdFusion Studio 5. It is an advanced code editor for several languages, including ColdFusion MX 6.1. It fully supports ColdFusion MX 6.1 tags for code completion and hinting. You can find HomeSite+ in the Dreamweaver folder on the Studio MX 2004 CD-ROM. It must be installed separately.