<circuits>

The circuits element defines each the circuits in a Fusebox application. There must be at least one circuit element within it and it is considered good practice to organize the circuits into [Model], [View] and [Controller] to separate the various functions. The circuits element contains one or more circuit elements. Each circuit has attributes to define that circuit's alias, path, and parent. You can have as many circuit elements as you need. Here is an example:

    <circuits>
        <circuit alias="m" path="model/" parent=""/>
        <circuit alias="v" path="view/"  parent=""/>
        <circuit alias="main" path="controller/" parent=""/>
    </circuits>

<circuit>

Each circuit tag specifies:

Attribute Description
alias The name by which this circuit will be called.
path The path to the directory which contains the circuit’s own XML definition file. This is normally a relative path from the application root. As of Fusebox 5.1, you can specify an absolute (or mapped) path for a circuit which is either relative to the webroot or resolved via a mapping. To use an absolute (or mapped) path, you must specify relative="false". (The path should always end with a trailing slash "/".)
parent The name of a parent circuit if required. If specified, the parent circuit's prefuseaction and postfuseaction can be invoked by setting the callsuper parameter in the prefuseaction and postfuseaction elements within the circuit.xml file.
relative Introduced in Fusebox 5.1, this specifies whether the path attribute should be treated as a relative or absolute (mapped) path. If you specify relative="true" (the default), in strict mode, then the path attribute must not start with a "/" (or "\" on Windows). If you specify relative="false", then the path attribute must start with "/" (or "\" on Windows).