![]() ![]() ![]() |
If what you have read so far is intriguing, you can take a look at the ColdFusion tags on the CFML toolbar in HomeSite. You can insert CFML tags in a page the same way you insert HTML tags. By default, CFML tags are color-coded in red. Tags that require attributes are provided with individual editors.
Notice that the basic HTML syntax of a tag name followed by attributes is used in CFML. It is much closer to HTML than to JavaScript, VBScript, or a 4GL such as C++ or Java. Notice too, that the requirements for coding the tags are straightforward and intelligible. Even tags that provide very high levels of functionality, like CFMAIL and CFFILE are relatively easy to program.
This follows the Allaire principle of "encapsulating complexity." This means wrapping chores like querying data sources and HTTP interactions in a tag and letting the developer focus on the application's structure and logic.
The following list gives a brief description of the bundled CFML tag set.
You can combine these tags and other CFML and HTML elements into Custom Tags (similar to HomeSite snippets) and drop them into ColdFusion applications.
![]() ![]() ![]() |
AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.