Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 2

Lightweight dependency injection solution for ActionScript 3

5.0
 
  0 reviews  |  4 users  |  5,372 lines of code  |  5 current contributors  |  Analyzed 7 days ago
 
 

This project implements Dependency Injection for C++. It supports property setter injection and constructor injection. It is compiled on multiple platform. It supports POCO (Plain Old C++ Object) and has no constraints on the classes you create. It has no incursion to your program code. Autumn ... [More] framework contains two parts: a dynamic library and a wrapper generator named AutumnGen. Autumn use a Small, simple, cross-platform, free and fast C++ XML Parser written by Frank Vanden Berghen to parse config file. 07/26/2007 Ver 0.5.0 released.This version: support multi-inheritance, including direct and indirect inheritance. Indirect inheritance should list base classes in doccomment. add namespace Autumn for Autumn framework. decorate some class member functions with const. other changes, including Issues 1~3 05/21/2007 Ver 0.4.0 released.This version: has AutumnGen, a generator for wrapper files. You needn't now write any code to use Autumn framework, you can generate wrapper files(a head file and a implementation file) from a head file with AutumnGen. bean support init-method, destroy-method and delete-method attributes. change "type" to "bean", remove "type" element in configure file. 03/26/2007 Ver 0.3.0 released.This version: needn't set property's type or constructor argument's type in configuration file. If set, it will replace the type got with wrapper. bean supports factory-method attribute and multiple factory methods, and don't support overloading. erase bean's attributes: initializable and destroyable. Bean supports init and destroy function however, it's decided by definition of bean wrapper support bean reference. unite IBasicType and ICombinedType into IAutumnType. 03/13/2007 Ver 0.2.0 released.This version supports creating bean using 'instance factory' and 'static factory method' patterns. You can find samples in test project. 03/05/2007 Ver 0.1.0 released.You can download source code here. A simple install guide is here.The code has been compiled on: WindowsXP with Visual C++ 6.0 Linux Ubuntu 6.06 with GCC 4.0.3 SunOS 5.10 i86pc with Sun C++ 5.8 AIX 5L with XL C V7.0 01/16/2007 Ver 0.1.0 beta for Windows VC6 released.You can download it here. Some docs are here. CppDoc is here. It may be very babyish now, because I don't know Spring well and do this to imitate Spring in a hurry. I will write some docs ASAP. Now, it support: Support property injection and constructor injection.Only two constructors now, one has arguments and one has no argument. The setter function name should be like setXXX where XXX is a property name. You may not obey that rule if you rewrite the file BeanWrapperMacro.h. Support following basic type: char, short, int, long, float, double, char*, string, and some docrated with unsigned. Support class injection. (A class is named as a bean in Autumn like in Spring.) Support customized type using interface IBasicType. Support pointer to above types. Support singleton. Support initialization and destroyation functions. Support property setter overloading. Supoort dependence(it may be not like Spring). Support multiple dynamic libraries and local library(bean is in main process). Support configuration of log file path and level. [Less]

0
 
  0 reviews  |  1 user  |  22,881 lines of code  |  0 current contributors  |  Analyzed 3 days ago
 
 

An easy to use, hassle free, Inversion of Control Container for small projects and beginners alike.

0
 
  0 reviews  |  1 user  |  26,981 lines of code  |  0 current contributors  |  Analyzed 1 day ago
 
 

PHP Dependency Injection Container for PHP

0
 
  0 reviews  |  1 user  |  3,836 lines of code  |  3 current contributors  |  Analyzed 7 days ago
 
 

The download will be available shortly Goshawk-IoC is an Inversion of Control container (also known as Dependency Injection) written in Javascript. It allows you to separate classes and assemble them using a central configuration. It is completely test driven (JsUnit), comes with documentation ... [More] , and is easily extensible. For more information on IoC see: http://martinfowler.com/articles/injection.html [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 4 days ago
 
 

A simple inversion of control framework for low coast projects

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 5 days ago
 
 

A collection of community-created extensions and examples related to the Ninject dependency injection project.

0
 
  0 reviews  |  0 users  |  98,206 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 

Developed for use with ActionScript 3, Flash 9 and Flex 2 projects it provides an inversion of control container for components that support dependency injection. Feature summary: Support for constructor and setter injection, with setter injection available to public variables, setter accessors ... [More] , and methods. Dependency resolution can be performed automatically through reflection or by providing: a subclass as a type-hint, a key string that a component was registered with, a function reference to return the dependency, a literal value. Component instances can be cached allowing emulation of singleton access to instances. The DI library can also detect some forms of cyclic dependency between components. Support is included for managing instances created outside of the container. Once registered they are available to any component that requests an instance. Additionally registered instances can be populated by setter injection once, every time or never when retrieved from the container. Runtime container configuration by XML is available, with additional formats easily added. Components can be registered in any order as they are only resolved when requested from the container. This allows for the loading of multiple external defintions and RSLs to load classes as required. A Reflection API is included in the DI library to address issues with the flash.utils.describeType function, and provides an API that makes the common use-cases of the DI library quick and easy. [Less]

0
 
  0 reviews  |  0 users  |  13,941 lines of code  |  0 current contributors  |  Analyzed 8 days ago
 
 

WTF - High Performance PHP FrameworkDeveloped to work with PHP 5.3WTF?The W orking T itle F ramework (short: WTF.), is a modern PHP Framework which comes with a lot of features most developers miss in the PHP core or other frameworks. It is developed under Continuous Integration, and tries to ... [More] assimilate features from other languages, such as: Everything is an Object - Ruby (on Rails) Language integrated Query - .net Annotations, AOP, Inversion of Control / Dependency Injection - Java ... and so on It is also willing to improve some of the PHP Core features like SPL or integrate new features in a userland way (Traits) If you got Questions or Feature requests, please use the Google Group. I answer everything :D Downloads will follow when the first developing step is complete and i am ready to release an 0.1.0 version The Framework provides the following Main Features:Annotations AOP Autoload Handling Event Handling Extended Exception Framework Integrated Query MVC Caching Framework Everything is an Object Policy Dependency Injection Inversion of Control Type Casted Array Objects Null Object Object Freezer Extended Reflection Framework integrated Registry Request Handling Extended SPL Taint Mode Traits Domain Driven Design Deployed as Phar Archives Storage Engine Unicode Support Modular Packages Project HomeProject Website will follow, when the first version of WTF is available. (Because the site is build using WTF) Tutorials, Sample Code:More Info, Tutorials, Sample Code will follow soon... Take a look at the Wiki Page, cause the first (simple) Draft of the Storage package is available there [Less]

0
 
  0 reviews  |  0 users  |  8,055 lines of code  |  0 current contributors  |  Analyzed 6 days ago
 
 

Status: proof of concept, seeking Feedback "Here's one I made earlier." Hoime aims to simplify the use of existing dependency injection frameworks by eliminating explicit injection code. This is achieved by weaving injection requests into object constructors as required. The goal ... [More] is to move from this: Injector injector = ... Greeter g = new Greeter("Richard"); injector.injectMembers(g); assertEquals("Hello Richard", g.getText());to this: Greeter g = new Greeter("Richard"); assertEquals("Hello Richard", g.getText());Basic usage is as follows. Determine which classes to include/exclude from transparent injection, before any injectable classes have been loaded: InjectionContext.setIncludedClasses("hoime.guice.**");Configure the dependency injection framework you are using, Guice in this case. Module module = new AbstractModule() { protected void configure() { bind(String.class).toInstance("Moshimoshi"); } }; Injector injector = Guice.createInjector(module);Attach it to hoime: InjectionContext.setInjector(new GuiceInjector(injector));Start using your transparently injected objects: String greeting = new Greeter("Richard").getText(); assertEquals("Moshimoshi Richard", greeting);Now run your application, passing in the hoime jar as a javaagent: java -javaagent:hoime-1.0.jar ...Currently there is support for Guice, Spring and Pico dependency injection. Constructor injection is not supported. See test suites for examples. [Less]

0
 
  0 reviews  |  0 users  |  1,237 lines of code  |  0 current contributors  |  Analyzed 5 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.