projecte_ionic/node_modules/di/README.md

23 lines
631 B
Markdown
Raw Normal View History

2022-02-09 18:30:03 +01:00
# Dependency Injection for Node.js
Heavily influenced by [AngularJS] and its implementation of dependency injection.
Inspired by [Guice] and [Pico Container].
[AngularJS]: http://angularjs.org/
[Pico Container]: http://picocontainer.codehaus.org/
[Guice]: http://code.google.com/p/google-guice/
<!--
Differences compare to Angular:
- service -> type
- no config/runtime phase
- no providers (configuration happens by registering config)
- no $provide
- no global module register
- no array annotations (but annotate helper)
- no decorators
- no child injectors (yet)
- comment annotation (TBD)
- node module injection (TBD)
-->