CFML Support in HomeSite

If what you have read so far is intriguing, take a look at the CFML tab on the HomeSite QuickBar. You can insert CFML tags in a Web document the same way you insert HTML tags. By default, CFML tags are color-coded in red, so they are easily distinguished from other types of tags.

The Tag Chooser (CTRL+E) lists all supported tags and contains help text on syntax and usage for each tag. You can right-click in any tag in Edit mode and select Edit Tag to open the editor for that tag.

Tag-based programming

Notice that the standard 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, such as CFQUERY and CFOUTPUT, are relatively easy to program.

This follows the Allaire principle of "encapsulating complexity." This means wrapping procedures like querying data sources and validating form fields in a tag and letting the developer focus on the application's structure and logic.

The following list gives a brief description of the CFML tags supported in HomeSite.

You can combine these tags and other CFML and HTML elements into Custom Tags (similar to HomeSite snippets) and drop them into ColdFusion applications.