Chapter 9. Nested Layouts

“You ought to have seen how it looked in the rain,/ The fruit mixed with water in layers of leaves,/ Like two kinds of jewels, a vision for thieves.”

——Robert Frost, “Blueberries”

Developers who have worked with Fusebox 2 are familiar with using a header file (usually called app_header.cfm) and a footer file (usually called app_footer.cfm) to establish a uniform layout for a web site. The Fusebox file would process the fuseaction’s output into the variable bodycontent, include the header file, output the bodycontent variable, and include the footer file. This method was flexible and easily understood. It also was not ...

Get Fusebox: Developing ColdFusion® Applications 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.