Exploring the ColdFusion Template

A ColdFusion template determines the layout and content of what the user actually sees in the browser when she accesses your expertly coded ColdFusion site. Templates use the file extension .CFM, rather than .HTML. When a user's browser requests a .CFM file, the server knows to turn the handling over to ColdFusion.

Templates are constructed in the same way as HTML pages—that is, either they can be hand-coded in text editors such as Notepad, Vi, or EMACS, or they can be created with graphic user interfaces (GUIs) such as Allaire's companion product, ColdFusion Studio. (We'll get to Studio in Week III, "Maximizing and Customizing ColdFusion Applications." ) In fact, you can even use templates to create other templates, ...

Get Sams Teach Yourself ColdFusion® in 21 Days 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.