Introduction: This is a detailed page of two di solutions in PHP. It introduces the related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 334788 'rolling = 'no'>
Di (dependency injection) is the most familiar among Java, J2EE, and spring,
By chance, I found two good PHP solutions. One is well-known.
Under the symfony framework, the address is
Http://components.symfony-project.org/dependency-injection/documentation
Another one is written by the author of symfony, called pimple,
Address is https://github.com/fabpot/Pimple#readme
I plan to look at symfony. It seems a little interesting. I can start to study the advantages and disadvantages of PHP in Di.
More articles on "Two di solutions in PHP"
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/334788.html pageno: 10.