The application component is the main core component creating the application object.
To configure your application, you should follow the configuration user guide,
- Load tools library
- Load timer component and expose it as global
$timer - Load log component and expose it as global
$log. Configuration is empty at this step. - Construct main application
$appobject- alias global
$timerto$app.timer - alias global
$logto$app.log
- alias global
- Load resource manager in
$app.resources - Load session manager in
$app.session - Load web server manager in
$app.ws
- Init application
- init process signals for catching process signals
- check environments variables
- load config profile from environement variable
SXAPI_CONForsxapi.yml - init resources manager
- load each resource declared in config profile
- init each resource declared in config profile
- init session manager
- init web server manager
- Start application
- Execute callback function