@gabliam/core

Gabliam is on top of inversify

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@gabliam/core
608.11.14 months ago6 years agoMinified + gzip package size for @gabliam/core in KB

Readme

!Build Statusbuild-imagebuild-url !NPM versionnpm-imagenpm-url
Gabliam core
Gabliam is on top of inversify. Gabliam help you for register all class in inversify. Gabilliam is modular with plugins.
Gabliam phase

Build phase

  1. Load all config file
  2. Load all file in scanPath of main
- All decorators on class add metadata and can register this class
- if an class has @scanPath, add this folder in queue for load
- load all plugin
  1. Bind classes in DI (inversify)
- call all plugin.bind
  1. load all config classes (order: CoreConfig => PluginConfig => config)
- call all plugin.config for all instance of config class
  1. Build
- call all plugin.build

Start phase

/!\ Build phase must be passed
  1. call all plugin.start

Stop phase

/!\ Build and start phases must be passed
  1. call all plugin.start

Detroy phase

/!\ Stop phase must be passed
  1. call all plugin.detroy
Samples
Go to Samples
License
MIT