Podcast: Play in new window | Download (50.8MB) | Embed
Subscribe: Apple Podcasts | Spotify | Email | RSS | More
Dependency injection removes the need to create instances of services in your code. Instead of having a module of code call the other modules it may need to function Dependency Injection passes those into it from the original caller. This is usually a framework or other higher level code sitting on top of the custom code you write for controlling the flow of your application. In this episode we’ll be talking about how dependency injection works, it’s various parts, the different ways it’s implemented, and finish up discussing some advantages and disadvantages.