
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Understanding ColdFusion MX and Flash Remoting
|
433
ColdFusion offers a powerful underlying platform to develop applications that per-
form database queries, HTTP requests, FTP operations, file and directory system
operations, email services, and much more. ColdFusion encourages good program-
ming practices, such as separating business logic from page content and storing reus-
able chunks of CFML in ColdFusion components, which make it easy to create n-
tiered applications. That, in turn, provides a great foundation for using ColdFusion
in conjunction with Flash Remoting. In addition, ColdFusion has Flash Remoting
technology built in, so no additional elements need be installed in order to use Cold-
Fusion, Flash Remoting, and FlashCom Server together.
Using CFML and ColdFusion Components
CFML is an XML/HTML-like language you can use to create the two basic types of
ColdFusion elements: ColdFusion pages (stored in .cfm or .cfml files) and ColdFu-
sion components (stored in .cfc files). ColdFusion pages are part of the presentation
tier and therefore don’t really fit into the Flash Remoting model. ColdFusion compo-
nents (CFCs), however, can form the business logic of a ColdFusion application and
are, therefore, an appropriate choice when using ColdFusion in conjunction with
Flash Remoting. ...