Mastering Dependency Injection in D8

The Symfony Dependency Injection component is a centerpiece of D8 core. But did you know you could use it in your own modules? This talk will teach you about dependency injection as a design pattern. It will tell you how it is used in D8, and how you can leverage it for your own needs for coding custom pages/features. We will talk about the container, all kind of service configurations you can do, factories, decorators, configurators, etc. The promise? Decoupling your code to make it maintainable and testable over time. Let's see how a good component and a few best practices make it happen. https://speakerdeck.com/nicolasgrekas/mastering-dependency-injection-in-d8
Length: 59:10
Views 215 Likes: 5
abstract
Recorded on 2016-09-26 at DrupalCon Dublin
Look for other videos at DrupalCon Dublin.
Tweet this video