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
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
0 comments
Post a comment