Browsing projects by Tag(s)

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

Showing page 19 of 21

A simple inversion of control framework for low coast projects

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

Sample reference projects involving Winforms, Castle, IoC, ActiveRecord, Rhino, and others

0
 
  0 reviews  |  0 users  |  1,050 lines of code  |  0 current contributors  |  Analyzed 1 day ago
 
 

Pinaka is a highly embeddable Inversion of Control (IoC) framework for components honour the Dependency Injection pattern.

0
 
  0 reviews  |  0 users  |  0 current contributors
 
 

Pxbioc是一个类似于google-guice的ioc容器 优势自身低耦合 使用一个内部ioc容器构造自己(MiniContainer). 高效 使用动态生成字节码方式替代java reflection api.比guice快,spring更别提了 轻量级 包大小0.0.2版新功能maven2 管理 增加了lifeCycle机制 ... [More] 完善了MiniContainer,使其可以脱离pxbioc而在其他应用作为迷你容器使用 添加一定的lazy机制(见DefaultFactoryBuilder.java) 基本使用方法//构造内部容器 MiniContainer miniContainer=new DefaultMiniContainer(); miniContainer.setConfigFile(propertiesFile path); //初始化 miniContainer.init(); FactoryManager factoryManager=miniContainer.inject(FactoryManager.class); // use factoryManager to add some factory //factoryManager.addFactory(.....); ContentManager contentManager=miniContainer.inject(CotentManager.class); // use contentManager to some value //contentManager.add("ioc","pxb"); //构造对外容器 Container container=miniContainer.inject(Container.class); //清理不用的数据 miniContainer.clear(); Man man=container.inject(Man.class); man.say(); //销毁 miniContainer.destroy(); [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed about 2 years ago
 
 

sfIocPlugin - IoC container for Symfony frameworkDescriptionsfIocPlugin implements IoC container in PHP and provide easy integration with Symfony Framework. Plugin is inspired by Spring framework IoC container (http://www.springframework.org/), but IS NOT AN ONE-TO-ONE COPY. IoC container is ... [More] useful for business logic layer implementations and adds more flexibility to your applications. FeaturesThis plugin is a very basic implementation of IoC, but it is enough for solving typical architecture problems. annotations support (easy bean configuration by annotations for classes and methods - no need for configuring all parameters in config files) support for dependency injection (currently only for construct()) implements singleton pattern (there is no need for using boring getInstance() methods) simple usage configurable with YAML files RequirementsSymfony 1.0.x or 1.1.x sfAnnotationPlugin Example /* * @Singleton / class UserLogic { /* * @Inject */ public function __construct(DataFinder $finder) { $this->finder = $finder; } public function authorize($login, $password) { $is_auth = $this->finder ->from('UserAccount') ->where('login',$login) ->where('password'=>$password) ->count() > 0; if($is_auth) { // authorize } return $is_auth; } } Bean configuration: all: # for all environments UserLogic: { class: DefaultUserLogic } DataFinder: { class: DBFinder } test: # for test environment DataFinder: { class: testFinder } # redeclare DataFinder in test env for unit testing without database Calling bean methods: $api = sfContext::getInstance()->get('DefaultBeanFactory')->getBean('UserLogic'); if($api->authorize('john_doe', 'secure')) { // secure stuff here } [Less]

0
 
  0 reviews  |  0 users  |  300 lines of code  |  0 current contributors  |  Analyzed 8 days ago
 
 

Spring is well known for server-side coding. To build a GWT web application, the same coding practices can be used with help of defered binding. This projects introduce IoC pattern to GWT with support for standard Spring APIs. GoalsFollowing Springframework spirit, SprinGwt does not plan to ... [More] reinvent the wheel and concurrent existing nice solutions. It is built upon GWToolbox for it's great IoC implementation. It also encourage best-practices like Unit Testing. GWTTestCase is a heavy and coarse-grained mecanism for testing, so it may focus on integration tests. For Unit testing, an better approach is to split the GWT UI component using the Supervising Controller pattern. The controller part can be fully tested, and the UI part requires fiew code. Another element that we thing is missing in GWT is dataBinding. We are investigating to use Gwittir for it's simple and powerfull databinding support Widgets can the be easily tied to model beans. More to come ! [Less]

0
 
  0 reviews  |  0 users  |  245 lines of code  |  0 current contributors  |  Analyzed 3 days ago
 
 

Trabalho de conclusão de curso: Prototipação Evolutiva com Inversão de Controle e Mock Objects.

0
 
  0 reviews  |  0 users  |  32,901 lines of code  |  0 current contributors  |  Analyzed 3 days ago
  ioc mock
 
 
Compare

A full-stack Framework implements MVC,IoC and O/R Maping.

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed about 22 hours ago
 
 

Yatagan wants us to use ioc without container.resolve :)

0
 
  0 reviews  |  0 users  |  4,127 lines of code  |  0 current contributors  |  Analyzed 6 days ago
 
 

The goal of this project is to provide an implementation of the Facelets view handler that is translated to Smarty, using its native control structures when possible and custom functions and blocks when necessary; a simple implementation of FacesContext that provies managed beans and scoping for use ... [More] in the view handler; and a simple navigation handler that allows form actions and outcomes to be mapped to destination views. *** Builds and documentation are available by following the 'Project Home Page' link to the right. *** [Less]

0
 
  0 reviews  |  0 users  |  3,855 lines of code  |  0 current contributors  |  Analyzed about 18 hours 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.