The "appcfc" Directory - Mura Docs v7.0

The "appcfc" Directory

The files stored under {context}/config/appcfc/ contain code used in Mura's root Application.cfc

Each file represents either an Application.cfc event method, or the code that's invoked and/or executed in the specified application event. The CFML methods are all broken out into separate "{event}_include.cfm" and "{event}_method.cfm" files.

For example, the onApplicationStart_method.cfm file simply contains the standard CFML onApplicationStart method, which in turn includes the onApplicationStart_include.cfm file.

As you might have already figured out, this is useful for Mura developers creating plugins and/or applications, and wish to include Mura's logic in their own Application.cfc.

You'll learn about Mura's event flow, and how you can inject your own business logic, in the Mura Events section.