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 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.