Package Exports
- zetta-app
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (zetta-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
zetta-app
Zetta Toolkit - Application Framework
Zetta-App was originally created to help multiple projects stay on top of latest express releases. Zetta-App offers a base application class that contains a number of facilities that may be needed by the application. These facilities can be activated by introducing appropriate configuration file objects.
For example, adding http object to the config file as follows:
{
http : {
port : 8765
}
}will automatically instantiate application's http server.
Following features are available:
- Config file loading
- Event notification during init stages
- Binding mongodb collections & indexes via config object
- HTTP server
- Login subsystem
- Custom Web Socket interface
- Translation interface
- Supervisor connectivity (RPC to a monitoring server)
Application object is reffered to as core and contains following:
Application.getConfig() Application.readJSON() Application.writeJSON()
Functions
- initBeforeHttp -
- init -
Properties
- uuid -
- config -
- **** -
- **** -
- **** -
- **** -
- **** -
- **** -
- **** -
- **** -
Events
- init::done -
- init::express -
- init::websockets -
- init::http::done -
- init::http-server -
- **** -
- websocket::connect -
- websocket::disconnect -