Back to Vol 18, Issue 12

PHP Architect · Vol 18, Issue 12 · December 2019

Education Station: Dependency Injection, Part Two

by Chris Tankersley

Last month, I talked about the basic idea of what dependency injection is and its importance. Now that we're more familiar with it, we'll look at examples of using dependency injection for managing object coupling, moving object creation externally, and keeping your classes concise.

The full article is in PHP Architect Vol 18, Issue 12. Subscribe to read it and every new issue.

Subscribe
Chris Tankersley

About the author

Chris Tankersley

Chris Tankersley is a husband, father, author, speaker, podcast host, and PHP developer. He works for InQuest, a network security company out of Washington, DC, but lives in Northwest Ohio. Chris has worked with many different frameworks and languages throughout his twelve years of programming but spends most of his day working in PHP and Python. He is the author of Docker for Developers and works with companies and developers for integrating containers into their workflows.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →