Better Application Design
Better Application Design Caleb Jenkins “ Dependency Injection  Microsoft Silverlight ” with
 
 
 
 
 
 
email   [email_address] Caleb Jenkins  Principal Consultant blog   developingUX.com twitter . com/calebjenkins Sample code at:  http://developingux.com/ioc
developingUX.com www.ImprovingEnterprises.com http://CommunityCast.tv http://ineta.org
Dependency Injection, Inversion of Control and the Strategy Pattern
Dependency Injection, Inversion of Control and the Strategy Pattern
Our Hero
has a quest
to slay the dragon
Our Hero The Dragon
The Dragon
but what if we wanted to
but what if we wanted to  rescue the princess,
but what if we wanted to  defend the castle rescue the princess,
but what if we wanted to  defend the castle use a horse and lance? rescue the princess,
?
The Dragon
a better way or
 
 
 
 
 
 
 
 
 
 
DI is: More Flexible! More Configurable! More Testable!
 
 
 
IoC / DI Frameworks http://www.castleproject.org/ http://www.springframework.net/ http://ninject.org/ http://www.codeplex.com/unity Policy Injection Application Block structuremap.sourceforge.net
 
 
 
Interceptors and Listeners The Knight is off to Slay the Dragon! The Knight just slayed the Dragon! It took :22 seconds!
Interceptors and Listeners Slay the Dragon Security  Must be a King with a Beautiful Reward Multi-Threading   Invoke UI Thread Logging  Knight is about to Slay the Dragon
 
Most “complete” stack ASP.NET Mono Rail Micro Kernel Windsor Kernel Active Record nHibernate Visual Studio Tooling Mature Community Integrates with ASP.NET MVC ASP.NET | Sharepoint Winforms | WPF | WCF | WF Console Apps http://www.castleproject.org/
 
“ Spring Framework” is THE way to do JAVA development Spring .NET is the .NET equivalent Perfect bridge for Java Spring developers moving to .NET Interface 21 http://www.springframework.net/
 
My current DI “crush” Light weight / super fast DI (Integrates with Castle for IoC / AOP) .NET Silverlight Windows Mobile No XML Config (Fluent Config)
 
From Microsoft Integration with other Application Blocks Microsoft Support http://www.codeplex.com/unity http://www.codeplex.com/ObjectBuilder
http://www.castleproject.org/ http://www.springframework.net/ http://ninject.org/ http://www.codeplex.com/unity Policy Injection Application Block structuremap.sourceforge.net
Not Covered
 
http://www.infragistics.com/hot/silverlight.aspx#InfragisticsandSilverlight
Not Covered
Not Covered Type Converters Sockets Deployment Options DataGrid Dynamically Loading Assemblies WCF Integration Advanced Debugging More More More More More
 
Questions?
copyright
[all images in this presentation are the property and copyright of their owners… Most of which I just found on the Internet and really have no idea who that might be.] copyright
email   [email_address] Caleb Jenkins  Principal Consultant blog   developingUX.com twitter . com/calebjenkins
developingUX.com www.ImprovingEnterprises.com http://CommunityCast.tv http://ineta.org
Thank you Sample code at:  developing ux .com / ioc

Dependency Injection in Silverlight