Skip to main content

Posts

Showing posts with the label IOC

IOC Part 2 - Ninject How it works and how to use

Intro This article is a follow-up to its predecessor Introduction to IOC AKA IOC Part 1, basically I am have chosen a dependency injection container that I have been acquainted with for some time now and I will be going in deep on how it works and how we can use it in a real life application. First – Know Ninject It is a dependency injection container that is used to separate application parts to be more loosely coupled, highly maintainable and then weirs them back with each other flexibly, so in Short it does IOC “you can check the previous article if you need more of understanding on what IOC really is here is the link  http://mohammedezzatawad.blogspot.com/2012/08/ioc-inversion-of-control-principle.html ” Second – How it works So that’s a good and a very important thing you need to know before using any framework, how does it work and to be precise the question you need to ask yourself is what is going on under the hood?, well as most of the Dependency Injection c...

IOC Part 1 - Inversion of control Principle

IOC Inversion of control Principle Series Intro This is the first article of a series targeting the deep understanding of what it means to IOC mostly using dependency injection, this will a really extensive study to what goes underneath the usage of a framework, so basically it is going to exceed the high level usage of a frame work such as Unity or Ninject, This will concentrate more on what goes under the hood and how does it communicate through the pipelines, This Article is An introduction to IOC. Intro It’s an infinite and everlasting purpose for us problem solvers to seek development practices and development techniques to lower the cost and increase the productivity of the problem solving principle, however terms of productivity, complexity, extendibility, maintainability and development cycle  are not determined by how partitioned, abstracted or object implemented your application is. All these relay heavily on how these objects are coupled, integrated and ma...