News Feed
Sections




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

Community News:
PHP The Right Way adds Dependency Injection Information
December 02, 2013 @ 11:54:39

The popular "PHP The Right Way" site has added a new section about a technology that's already in wide use across PHP frameworks and other applications in the community - Dependency Injection.

Dependency Injection is providing a component with it's dependencies either through constructor injection, method calls or the setting of properties. It is that simple. [...] If you have ever read about Dependency Injection then you have probably seen the terms "Inversion of Control" or "Dependency Inversion Principle". These are the complex problems that Dependency Injection solves.

The new section talks about some of the fundamentals behind the use of DI (dependency injection), what the "Inversion of Control" and "Dependency Inversion Principle" are and a bit about a common implementation - dependency injection containers.

0 comments voice your opinion now!
phptherightway dependency injection section tutorial

Link: http://www.phptherightway.com/#dependency_injection

blog comments powered by Disqus

Similar Posts

EasyPHPWebsites.com: Gluing jQuery and PHP Together with JSON

PHPMaster.com: Create Digital Tickets with PHP and Apple Passbook

CodePoets.co.uk: How to use PHP and PEAR MDB2 (Tutorial)

DevShed: The LIKE Clause and the Active Record Pattern

Richard Miller's Blog: Symfony2: Moving Away From the Base Controller


Community Events

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


series security laravel5 extension interview version library threedevsandamaybe podcast symfony voicesoftheelephpant community api language introduction framework opinion release unittest laravel

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