Silicon Valley Code Camp : October 3rd and 4th 2015session
DI Why? Getting a Grip on Dependency Injection
What is Dependency Injection? And why would we want to use it? That's what we're here to answer. We'll see how loosely-coupled applications are easier to extend and test.
About This Session
What is Dependency Injection? And why would we want to use it? That's what we're here to answer. We'll start by looking at the problems caused by tight coupling. Then we'll use some DI patterns such as constructor injection and property injection to break that tight coupling. We'll see how loosely-coupled applications are easier to extend and test. With a better understanding of the basic patterns, we'll remove the magic behind DI containers so that we can use the tools appropriately in our code.