scatter
scatter copied to clipboard
IoC container and out-of-the-box extensibility for Node.js applications
first off, awesome project! ok, heres my issue. In a service, I load an entire namespace (using the `scatter-plugin-all` plugin), iterate over the modules and register new modules in a...
- When calling scatter.load() with an array of module paths it appears to return an array with the last module loaded for each of the array values. - Also, injecting...
First of all thanks, without people like you I could not stand on the shoulders of giants. That being say a lot of the guide and docs are over my...
This works ``` scatter.registerParticle [ 'components.0', 'components.1' ], __dirname (scatter.load 'svc|sequence!init').then (app_init) -> app_init() .then () -> (scatter.load 'svc|sequence!start') .then (app_start) -> app_start() ``` but registering the second particle later...
It would be useful if `Scatter`'s `load` method as well supports relative module "paths" as the module dependency specification already does. It should be possible to write ``` scatter.load("./web-server/index").then (web_srv)...
Hi it's possible to extends functionality from a file in one folder to other?. For example: We have this structure: ``` - components - c1 - routes.js - core -...
This probably involves the creation of a transform to collect the dependencies and manually register them without using the resolver.
I changed all of the '.js' -> '.coffee' in Resolver.js and it seems to work fine, but a better solution is needed.
Based on Node.js's `require()` it should be possible for a module to be dependent not only of other modules but also of directories. The directory should be resolved to `/index.js`....