Developing Dynamic Web Sites with ColdFusion
|
|
Developing Dynamic Web Sites with ColdFusion
|
Understanding ColdFusion
ColdFusion is a Web application development system that is designed to extend the functionality of your Web server. The development system is made up of several key components:
- The ColdFusion Application Server is the brain that drives ColdFusion. The Application Server runs on the Web server machine, and processes ColdFusion page requests. The Application Server currently supports both Windows NT and UNIX (support for other operating systems is on the way).
- The ColdFusion Markup Language, or CFML. CFML is a language used to create server applications, and it follows the HTML calling convention of tags enclosed within, with parameters passed as tag attributes. This type of syntax makes learning ColdFusion no more complicated than learning HTML.
- ColdFusion Studio, the client IDE designed specifically for ColdFusion application development. ColdFusion Studio is built upon HomeSite. It shares all of HomeSite's features and adds capabilities for data access, security, version source control, and more.
ColdFusion functions as a Web page preprocessor on the Web server, allowing you to embed sophisticated commands into your Web page. ColdFusion pages are plain text files that look much like HTML files. The only real difference between HTML files and ColdFusion files is the file extension, ColdFusion files have an extension of CFM. Other than that, whatever you can do in an HTML page, you can do in a CFM page. That, and a whole lot more.
The CFML language is made up of over 50 tags that provide all sorts of functionality, from database integration, to SMTP and POP support, to COM support, and programming constructs like conditional processing and looping. In addition, there are hundreds of third party add-on tags available, and you can write your own custom tags too.
How does ColdFusion work? The basic process goes like this:
- A user requests a ColdFusion page (one with a CFM extension). The Web server recognizes the page as being a ColdFusion page, and hands it off to the ColdFusion server for processing.
- ColdFusion parses and processes the page, executing any embedded tags and generating dynamic content.
- ColdFusion returns the page results (not the page itself) to the Web server, which in turn transmits it back to the user as HTML.
It is important to remember that ColdFusion only processes its own tags, and leaves any other code intact. ColdFusion supports Java, ActiveX, JavaScript, DHTML, VRML, HDML, and many other Web technologies.
Copyright © 2000, Allaire Corporation. All rights reserved. |
|