PHP中的依赖注入引擎

时间:2011-12-06 23:24:40

标签: php dependency-injection

我正在用PHP编写一个PHP依赖注入引擎你们可以指导我一些有价值的文件/文章,我可以阅读吗?

我知道我有一个非常普遍的问题:
我读过这些文章:

  

1] http://www.potstuck.com/2009/01/08/php-dependency-injection/
  2] http://fabien.potencier.org/article/11/what-is-dependency-injection
  3] http://www.slideshare.net/fabpot/dependency-injection-with-php-and-php-53
  4] http://ralphschindler.com/2011/05/18/learning-about-dependency-injection-and-php
  5] http://loosecouplings.blogspot.com/2011/01/dependency-injection-using-di-container.html
  6] http://www.pbell.com/index.cfm/2006/11/19/How-to-Write-your-own-Dependency-Injection-Engine
  7] http://miller.limethinking.co.uk/2011/07/07/dependency-injection-moving-from-basics-to-container/

我仍然无法在这个问题上找到合适的基础。

final edit:
感谢Gordon指出这个链接:Inversion of Control Containers and the Dependency Injection pattern
我错过了书签!在本文末尾提供:what-is-dependency-injection

我认为我现在对这个概念有了很好的理解。将从代码开始。感谢所有在此发表评论的人

0 个答案:

没有答案