3.2. Project Structure # Application Configurations - dfki-flpe/sandbox-test GitHub Wiki
www/config
)
Application Configurations (As the name implies this folder contains the configurations of your application. In the current version of MMIR config/
consists of the following contents:
-
configuration.json
: This is a well-formatted JSON file, which contains the main configuration of MMIR application. For example to specify the default language of your application as German add the following line to configuration.json :
"language": "de"
By convention, languages should be referred to by their 2-letter language code [ [∞] ](#fn3), e.g. use `en` for English.
- `config/languages/`: Holds language specific configurations; see the following section Application Language Configurations (`www/config/languages`).
- `config/statedef/`: Contains the SCXML files for the `DialogEngine` and the `InputEngine`; see the following section Application State Definitions (`www/config/statedef`).
- `directories.json`: This is a well-formatted JSON file, which contains a list of files that hold the implementations of the models, views, and controllers of the application, as well as language-specific resources (e.g. dictionaries, grammars).
The framework uses this information, to automatically load the models, views, controllers, plugins, and language resources at startup. The `directories.json` file can be created using the project's ANT `build.xml`; see the following section Building MSK.