DI/1 - Inject One
Project Home • Blog • Wiki • Known Issues • Contact Project
DI/1 - Inject One - leverages some simple conventions to provide a Dependency Injection / Inversion of Control framework in a single file.
Intended to require near-zero configuration, DI/1 manages your application model (beans, services etc) without worrying about a framework getting in your way.
Beans (CFCs) are all 'discovered' using straightforward conventions.
DI/1 acts as a simple bean factory that offers containsBean(name), getBean(name) and parent bean factory functionality so it can be used with FW/1 or most other frameworks that support bean factories.
Mailing list: http://groups.google.com/group/framework-one/
Yes, DI/1 issues are currently being discussed alongside FW/1 issues!
For source code, forks, issues, documentation etc: http://github.com/framework-one/di1
Note that the Download Project link here will get you the Bleeding Edge Release. Visit the github downloads page for stable releases!
** DI/1 is compatible with Lucee 4.5.0 **
Note: the latest DI/1 is available as part of FW/1 3.0 RC 1.
0.5 declareBean() now allows for dependencies to be overridden on a per-bean basis. This is useful when creating multiple variant beans from a single CFC, such as configuration-bsaed beans.
DI/1 requires ColdFusion 9.0.1, Lucee 4.5.0, or Railo 3.3 -- or later versions of any of those.
This project has an external bug tracker. You can find it here:
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.