Section 5: fbx_circuits.cfm

Sections 5 and 6 of the core file handle the circuits structure. We like to think of the circuits structure as the family tree for the application.

The circuits structure looks something like this:

As you can see in Figure 3.3, the left side of the output is the circuit name. Each circuit is a folder in the application, and each circuit gets one key in the circuits structure. The right side of the output is the location to the circuit, starting from the root. The root of the application is arbitrarily given a name that does not necessarily have to be the name of the web root. In our case, the thirdwheelbikes.com application is running in the web root, but we gave it the name thirdweel.

Figure 3.3. <cfdump> of the ...

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.