Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
631 bytes
|
Line | |
---|
1 | # Dependency Injection for Node.js
|
---|
2 |
|
---|
3 | Heavily influenced by [AngularJS] and its implementation of dependency injection.
|
---|
4 | Inspired by [Guice] and [Pico Container].
|
---|
5 |
|
---|
6 | [AngularJS]: http://angularjs.org/
|
---|
7 | [Pico Container]: http://picocontainer.codehaus.org/
|
---|
8 | [Guice]: http://code.google.com/p/google-guice/
|
---|
9 |
|
---|
10 | <!--
|
---|
11 | Differences compare to Angular:
|
---|
12 | - service -> type
|
---|
13 | - no config/runtime phase
|
---|
14 | - no providers (configuration happens by registering config)
|
---|
15 | - no $provide
|
---|
16 | - no global module register
|
---|
17 | - no array annotations (but annotate helper)
|
---|
18 | - no decorators
|
---|
19 | - no child injectors (yet)
|
---|
20 | - comment annotation (TBD)
|
---|
21 | - node module injection (TBD)
|
---|
22 | -->
|
---|
Note:
See
TracBrowser
for help on using the repository browser.