News Feed
Sections




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

Sam Hennessy's Blog:
A Dependency Injection for PHP Manifesto - Part 1 (What I Want)
June 15, 2009 @ 09:32:55

Sam Hennessy has continued his series looking at dependency injection in PHP with part one (technically the second part, here's part 0) - what he wants out of a dependency injection framework.

This article is part of a series where I will go into great detail about Dependency Injection (DI) and how it applies to PHP. I will layout exactly how I think DI should be used in PHP with the creation of a new code project as the result.

He has made a list of things that he's want a DI framework to do for him including:

  • functionality that helps to keep things manageable
  • making it all testable
  • make a reduction in the need for "boilerplate code"
  • work completely standalone if need be
0 comments voice your opinion now!
series manifesto injection dependency


blog comments powered by Disqus

Similar Posts

Daniel Krook's Blog: Migrating PHP applications to DB2

DreamInCode.com: Preventing PHP Mail(...) Header Injections

Francois Zaninotto: Node.js for PHP Developers Series

DevShed: Building a Blogger with the Code Igniter PHP Framework

Kevin Schroeder: (Starting) Using Dependency Injection in Magento 2


Community Events





Don't see your event here?
Let us know!


interview framework series code tips list conference bugfix symfony podcast threedevsandamaybe api introduction laravel deployment release zendserver language voicesoftheelephpant community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework