# Configuration Directives

The basic configuration object has 1 method for application configuration called `configure()` where you will place all your configuration directives and settings:

{% code title="ColdBox.cfc" %}

```javascript
/**
* A simple CFC that configures a ColdBox application.  You can even extend, compose, strategize and do your OO goodness.
*/
component{

    // Mandatory configuration method
    function configure(){
        coldbox = {
          
        };
    }
    
}
```

{% endcode %}

## Directives

Inside of this configuration method you will place several core and third-party configuration structures that can alter your application settings and behavior. Below are the core directives you can define:

| Directive                                                                                                                                           | Type   | Description                                                                                                                                                                                                                              |
| --------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [cachebox](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/cachebox)                       | struct | An optional structure used to configure CacheBox. If not setup the framework will use its default configuration found in `/coldbox/system/web/config/CacheBox.cfc`                                                                       |
| [coldbox](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/coldbox)                         | struct | The main coldbox directives structure that holds all the coldbox settings.                                                                                                                                                               |
| [conventions](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/conventions)                 | struct | A structure where you will configure the application convention names                                                                                                                                                                    |
| [environments](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/environments)               | struct | A structure where you will configure environment detection patterns                                                                                                                                                                      |
| [flash](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/flash)                             | struct | A structure where you will configure the [FlashRAM](https://github.com/ortus/coldbox-platform-documentation/tree/24d3f3d16693b36ca41bf5ce0329c6ff33316ef0/full/configuration/coldboxcfc/configuration_directives/flash_ram/flash_ram.md) |
| [interceptorSettings](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/interceptorsettings) | struct | An optional structure to configure application wide interceptor behavior                                                                                                                                                                 |
| [interceptors](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/interceptors)               | array  | An optional array of interceptor declarations for your application                                                                                                                                                                       |
| [layoutSettings](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/layoutsettings)           | struct | A structure where you define how the layout manager behaves in your application                                                                                                                                                          |
| [layouts](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/layouts)                         | array  | An array of layout declarations for implicit layout-view-folder pairings in your application                                                                                                                                             |
| [logbox](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/logbox)                           | struct | An optional structure to configure the logging and messaging in your application via LogBox                                                                                                                                              |
| [modules](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/modules)                         | struct | An optional structure to configure application wide module behavior                                                                                                                                                                      |
| [moduleSettings](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/modulesettings)           | struct | An optional structure to configure individual modules installed in your application.                                                                                                                                                     |
| [settings](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/settings)                       | struct | A structure where you can put your own application settings                                                                                                                                                                              |
| [wirebox](https://coldbox.ortusbooks.com/v4.x-1/getting-started/configuration/coldbox.cfc/configuration-directives/wirebox)                         | struct | An optional structure used to define how WireBox is loaded                                                                                                                                                                               |
