Managed Hosting



DI/1 - Inject One
Project Home Blog Wiki Known Issues Contact Project

Author: Sean Corfield (All RIAForge projects by this author)
Last Updated: January 29, 2015 2:52 PM
Version: 0.5
Views: 19,853
Downloads: 1,036
License: Apache License, Version 2


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!

Documentation: http://github.com/framework-one/di1/wiki

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!

Last Update:

** 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.

Issue Tracker:

This project has an external bug tracker. You can find it here: