Nesting and Inheritance

There is a subtle difference between nesting Fusebox circuits and the inheritance that occurs among nested circuits. Although it appears that the processing of each circuit is nested within the processing of the circuit above it, that’s not entirely true.

Nested circuits don’t inherit the behavior of their ancestors in linear fashion. Returning to the elevator illustration, we can say that settings and layouts are inherited through all circuits between the main and target circuits, but actual processing is inherited by the target circuit directly from the main circuit.

In other words, Fusebox is concerned with the environment of each circuit going down the directory tree (inheritance of settings) and the nature 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.