UNPKG

1.32 kBMarkdownView Raw
1[![Build Status][build-image]][build-url]
2[![NPM version][npm-image]][npm-url]
3
4
5# Gabliam core
6
7Gabliam is on top of inversify.
8Gabliam help you for register all class in inversify.
9Gabilliam is modular with plugins.
10
11
12# Gabliam phase
13
14## Build phase
15
161. Load all config file
172. Load all file in scanPath of main
18 - All decorators on class add metadata and can register this class
19 - if an class has @scanPath, add this folder in queue for load
20 - load all plugin
213. Bind classes in DI (inversify)
22 - call all plugin.bind
234. load all config classes (order: CoreConfig => PluginConfig => config)
24 - call all plugin.config for all instance of config class
255. Build
26 - call all plugin.build
27
28## Start phase
29/!\ Build phase must be passed
30
311. call all plugin.start
32
33## Stop phase
34/!\ Build and start phases must be passed
35
361. call all plugin.start
37
38## Detroy phase
39/!\ Stop phase must be passed
40
411. call all plugin.detroy
42
43# Samples
44Go to [Samples]
45
46
47
48[Samples]: <https://github.com/gabliam/gabliam/tree/master/examples>
49
50# License
51
52 MIT
53
54[build-image]: https://img.shields.io/travis/gabliam/gabliam/master.svg?style=flat-square
55[build-url]: https://travis-ci.org/gabliam/gabliam
56[npm-image]: https://img.shields.io/npm/v/@gabliam/core.svg?style=flat-square
57[npm-url]: https://www.npmjs.com/package/@gabliam/gabliam/core