What are the recommended conventions for naming configuration files and structuring my application? - Mach-II/Mach-II-Framework GitHub Wiki

We recommend that you use the following file naming conventions and directory structure for XML configuration files:

Directory Structure

    |-+ YourApplicationName
        |- config
        |- modules
        |  |- ModuleName
        |     |- config
        |- ... additional folders ...

Base Configuration File

mach-ii.xml

Configuration Files to be Includes

mach-ii_nameOfInclude.xml

All includes should follow the mach-ii_*.xml synax.

Base Configuration File for Modules

mach-ii_nameOfModule.xml

All base config files for modules should follow the mach-ii_*.xml` syntax.

Configuration Files to be Includes

mach-ii_nameOfModule_nameOfInclude.xml

All includes should follow the mach-ii_nameOfModule_*.xml syntax.

Back to FAQs