Commit Graph

3 Commits

Author SHA1 Message Date
Riceball LEE 6b8c0058e4 * [bug] load config from jsonfile 2017-01-25 11:03:22 +08:00
Riceball LEE 8a5ebdadbe + make model definition file use more config formats via load-config-file 2017-01-21 18:31:59 +08:00
Raymond Feng ac1571ccf1 Refactor for modular and pluggable design
- refactor logic of processing artifacts into their own classes
- introduce Container as the main class for bootstrapping and build a
  registry of handlers during boot to organize them by a hierarchy
  denoted by path
- adopt middleware like registration and invocation
- container.use(path, handler)
- container.run(context, done)
- allow more phases during boot
- boot is now asynchronous
2016-11-22 13:38:28 -05:00