Basic Components
Depending on your project, you will likely encounter some of the different types or componetents of a mos.configuration. All files within a configuration are of the file type JavaScript Object Notation or JSON for short.
The following pages contain the available components and a short description of their purpose. Each component is located within its own folder of you configuration and can hold one or multiple files. Please note that a component folder should be named accordingly for it to work correctly.
๐๏ธ Asset
"A picture is worth a thousand words"
๐๏ธ Client Template
The typicall mos. application consists of several views.
๐๏ธ Config
There is a lot that your app can do, most of it can be set in the configuration. Despite the vast amount of actions, layers and
๐๏ธ Database Tables
mos. offers a build-in SQLite based solution to persist data. Furthermore it allows you to define sources for tables that the app will automatically keep up to date.
๐๏ธ Environment
You can define different environment variables depending on the environments you start your application in. These variables are replaced with their value at runtime. Typicall variables defined in environments are URLs for external third-party APIs (i.e. different environments could point towards the development and production API). Most of the time you will find an environment called default for production purposes and one called local for development on you local machine.
๐๏ธ Event
Events are used to call actions from elsewhere in the app.