Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started
by Ben Forta, Raymond Camden, Charlie Arehart
Introducing ColdFusion Components
Like the ColdFusion templates you have already seen, ColdFusion Components are ColdFusion files that you create and use. Both are plain text files and both contain CFML code, but that’s where the similarities end.
ColdFusion templates have no fixed format, and can contain all sorts of tags in any order. ColdFusion Components have a very strict and rigid format.
ColdFusion templates are processed starting at the top of the file and working downward. ColdFusion Components have one or more starting and ending points, essentially different blocks of functionality within a single file.
ColdFusion templates have a .cfm extension. ColdFusion Components have a .cfc extension.
ColdFusion templates are designed to be invoked ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access