All Projects → framework-one → Di1

framework-one / Di1

DI/1 - Inject One - is a very lightweight, convention over configuration, dependency injection (inversion of control) framework for ColdFusion / CFML.

Projects that are alternatives of or similar to Di1

Cfmlstats
Parses your CFML code base and gives you stats
Stars: ✭ 10 (-90.83%)
Mutual labels:  coldfusion
Vagrant Lemtl
Vagrant box with Linux, Nginx, MariaDB (or MySQL), Tomcat, and Lucee for local development with CFML and Java
Stars: ✭ 41 (-62.39%)
Mutual labels:  coldfusion
Cfselenium
A native Selenium WebDriver binding for ColdFusion
Stars: ✭ 77 (-29.36%)
Mutual labels:  coldfusion
Toscript
Converts Tag based CFML to CFML Script
Stars: ✭ 12 (-88.99%)
Mutual labels:  coldfusion
Varscoper
varScoper is a code scanning tool that can be used to identify variables that are not explicitly scoped to be local or global to a ColdFusion function.
Stars: ✭ 30 (-72.48%)
Mutual labels:  coldfusion
Colddoc
ColdDoc is a tool that has been built to generate documentation based on ColdFusion Component Meta Data.
Stars: ✭ 44 (-59.63%)
Mutual labels:  coldfusion
Introtogit
Intro to Git presentation materials
Stars: ✭ 9 (-91.74%)
Mutual labels:  coldfusion
Mach Ii Framework
Mach-II is a web-application framework focused on easing software development and maintenance.
Stars: ✭ 93 (-14.68%)
Mutual labels:  coldfusion
Poiutility.cfc
A ColdFusion component (and set of custom tags) for reading and writing XLS (Excel) documents in ColdFusion.
Stars: ✭ 36 (-66.97%)
Mutual labels:  coldfusion
Xindi
Xindi is a lightweight CFML content management system ideally suited to smaller websites.
Stars: ✭ 70 (-35.78%)
Mutual labels:  coldfusion
Tinytest
A tiny unit testing framework built as a means to learn more about unit testing in ColdFusion.
Stars: ✭ 13 (-88.07%)
Mutual labels:  coldfusion
Cfbackport
Back porting features contained in newer versions of ColdFusion.
Stars: ✭ 27 (-75.23%)
Mutual labels:  coldfusion
Validatethis
An object oriented validation framework for ColdFusion objects
Stars: ✭ 45 (-58.72%)
Mutual labels:  coldfusion
Combine
Serves Combined & compressed js & css with caching, using ColdFusion
Stars: ✭ 11 (-89.91%)
Mutual labels:  coldfusion
Facebook Cf Sdk
Facebook CFML SDK for ColdFusion and Railo
Stars: ✭ 83 (-23.85%)
Mutual labels:  coldfusion
Mobilemura
MobileMura is a plugin that adds advanced mobile features to Mura CMS.
Stars: ✭ 9 (-91.74%)
Mutual labels:  coldfusion
Fusebox Coldfusion
Fusebox is a free, easy to use framework for web development that organizes your code for fewer development bugs and faster maintenance. It has a low runtime overhead. It is mainly targeted to ColdFusion but also has versions for PHP and ASP.
Stars: ✭ 41 (-62.39%)
Mutual labels:  coldfusion
Cfstatic
CfStatic is a framework for managing the inclusion and packaging of CSS and JavaScript in CFML applications.
Stars: ✭ 102 (-6.42%)
Mutual labels:  coldfusion
Mxunit
MXUnit core framework
Stars: ✭ 89 (-18.35%)
Mutual labels:  coldfusion
Stripe Cfml
stripe-cfml is a CFML (Lucee and ColdFusion) library for interacting with the Stripe API.
Stars: ✭ 51 (-53.21%)
Mutual labels:  coldfusion

DI/1 is a simple convention-based dependency injection (inversion of control) framework. DI/1 is part of the FW/1 family of components. All development work occurs in that repo. This repo is provided purely as a convenience for users who want just DI/1 as a standalone component.

Usage

Initialize it with a comma-separated list of folders to scan for CFCs:

var beanfactor = new ioc("/model,/shared/services");

CFCs found in a folder called beans are assumed to be transient. All other CFCs are assumed to be singletons. This can be overridden via optional configuration.

DI/1 supports constructor injection, setter injection and property-based injection. All injection is done by name. If a bean name is unique, it can be used as-is, else the bean will have an alias which is the bean name followed by its immediate parent folder name, e.g.,

/model/beans/user.cfc will be "user" and "userBean"
/model/services/product.cfc will be "product" and "productService"

Folder names may be singular or plural. DI/1 assumes that if a folder name ends in "s" it can remove that to get the singular name.

See the DI/1 documentation for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].