Relativity

To understand how code is interpreted within the framework of a Fusebox application, we need to look at where ColdFusion is looking when various requests are made.

We’ll start off with <cfinclude> because that’s a commonly used directive in Fusebox applications. Then we’ll look at some of ColdFusion’s directory-related functions and how they work with respect to location. Finally, a quick look at UDFs will round out the discussion.

All of these discussions about nested coding are based on the basic framework of a Fusebox circuit, which is constructed through a series of <cfinclude> statements. Figure 10.1 illustrates the structure of a fuseaction in terms of the order in which the various <cfinclude> statements are processed.

Figure ...

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.