My Professional Profile

I am Johnson Augustine Sr.Software Engineer and System Architect. I have 10 Yrs of hands on expertise in ASP.net MVC 5 , Angular 5 , C# MVC Razor, WPF MVVM , Android , IOS Swift 3 , IOS11 MSSQL,MySQL Database,,PHP,C/C++/Visual C++/G++/QT++,Com,DirectX,Open CV,EMGU CV , embedded System Development , [Raspberry PI]. ,html,Javascript,Jquery,Ajax.CSS , Networking ,Cyber security, Ethical Hacking You can see my professional profile at http://linkedin.com/in/johnsontaugustine Email : johnsonaugustine@live.com

Friday, 1 January 2016

Dependency injection libraries


For Dotnet c#

It depends on what you are looking for, as they each have their pros and cons.

Spring.NET is the most mature as it comes out of Spring from the Java world. Spring has a very rich set of framework libraries that extend it to support Web, Windows, etc.

Castle Windsor is one of the most widely used in the .NET platform and has the largest ecosystem, is highly configurable / extensible, has custom lifetime management, AOP support, has inherent NHibernate support and is an all around awesome container. Windsor is part of an entire stack which includes Monorail, Active Record, etc. NHibernate itself builds on top of Windsor.

Structure Map has very rich and fine grained configuration through an internal DSL.

Autofac is an IoC container of the new age with all of it's inherent functional programming support. It also takes a different approach on managing lifetime than the others. Autofac is still very new, but it pushes the bar on what is possible with IoC.

Ninject I have heard is more bare bones with a less is more approach (heard not experienced).
The biggest discriminator of Unity is: it's from and supported by Microsoft (p&p). Unity has very good performance, and great documentation. It is also highly configurable. It doesn't have all the bells and whistles of say Castle / Structure Map.


For Android 

Dagger
http://springframework.me/
https://github.com/google/guice/wiki/OptionalAOP
Butter Knife

For IOS

http://objection-framework.org/
https://www.objc.io/issues/15-testing/dependency-injection/
http://typhoonframework.org/


PHP

composer
Dependency Manager for PHP
Pimple
A small PHP 5.3 dependency injection container
PHP-DI
The dependency injection container for humans
composer-asset-plugin
NPM/Bower Dependency Manager for Composer
graph-composer
Dependency graph visualization for composer.json (PHP + Composer)
auryn
IoC Dependency Injector

Dice
Dice - a lightweight Dependency Injection Container for PHP

JMSDiExtraBundle
Provides Advanced Dependency Injection Features for Symfony2