Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Anthony Ferrara:
Programming With Anthony - Dependency Injection
Jan 10, 2013 @ 15:08:57

Anthony Ferrara has posted his latest video tutorial in his series, this time covering dependency injection (mostly the concepts, not the implementation).

This week, we're going to talk about the topic of Dependency Injection in Object oriented code (specifically PHP). You don't need a fancy container to do it, it's actually quite simple to do manually!

He also talks some about the difference between a dependency injection container and a service locator. This is just the latest in his video series - he has others covering things like prepared statements, encryption and references in PHP.

tagged: dependency injection video tutorial overview example

Link:


Trending Topics: