Framework Settings - adampresley/cf-basis GitHub Wiki

Framework Settings

Here is a catalog of the various framework settings that can be configured in your Application.cfc.

General

  • reloadFrameworkEveryRequest - True/false to reload the Application scope objects and cache. Defaults to false
  • urlReloadVariableName - Name of the URL variable used to trigger a framework reload. Defaults to "reload"
  • useFriendlyUrls - True/false to use search engine friendly URLs. This requires a URL rewriting engine to remove the index.cfm requirement from the URL. Defaults to false
  • flushBufferBeforeOutput - True/false to remove any contents from the CFML output buffer before starting the layout/view output. Defaults to true
  • cacheModel - True/false to cache service and DAO objects in the Application scope when instantiated using TheFactory. Defaults to true

Defaults

  • defaultController - Name of the default section/controller. Defaults to "main"
  • defaultAction - Name of the default method for controllers. Defaults to "index"
  • defaultLayoutName - Name of the default layout file. Defaults to "default"
  • defaultPageTitle - Name of the default page title for layouts. Defaults to "Home"

Pathing

  • controllerPath - Component path to controllers. Defaults to "controllers"
  • viewPath - Name of the directory for holding view pages. Defaults to "views"
  • layoutPath - Name of the directory for holding layout pages. Defaults to "layouts"
  • modelPath - Component path for model objects, such as services and DAOs. Defaults to "model"
  • pluginPath - Component path to Basis plugins. Defaults to "plugins"