Conventions

The core conventions delineate the contract between ColdBox and you for file/directory locations and more. Below is a table of the core conventions:

Directory/File Conventions

  • config/Coldbox.cfc - Your application configuration object (optional)

  • config/Router.cfc - Your application URL Router (optional)

  • handlers - This holds the app's controllers

  • layouts - Your HTML layouts

  • models - This holds your app's CFCs

  • modules - This holds the CommandBox tracked modules

  • modules_app - This holds your app's modules

  • views - Your HTML views will go here

Execution Conventions

Last updated