Creating Templates

As already explained, ColdFusion templates are plain text files. As such, they can be created using many different programs. Good choices for ColdFusion developers, as already seen, are Adobe Dreamweaver and Eclipse. Most of the lessons and examples in this book use Dreamweaver, but you are free to use whatever editor you prefer.

To create a new ColdFusion file—or template; as I said, the terms are used interchangeably—simply start Dreamweaver. The editor will be ready for you to start typing code, and what you save is the ColdFusion file, as long as you save it with a .cfm extension, that is.

Note

There are two other file extensions used with ColdFusion, .cfc and .cfr. We’ll look at those files in future chapters.

The following ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.