@gabliam/core
v9.0.0
Published
Gabliam is on top of inversify
Downloads
95
Readme
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
- Load all config file
- 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
- Bind classes in DI (inversify)
- call all plugin.bind
- load all config classes (order: CoreConfig => PluginConfig => config)
- call all plugin.config for all instance of config class
- Build
- call all plugin.build
Start phase
/!\ Build phase must be passed
- call all plugin.start
Stop phase
/!\ Build and start phases must be passed
- call all plugin.start
Detroy phase
/!\ Stop phase must be passed
- call all plugin.detroy
Samples
Go to Samples
License
MIT