News Feed
Sections




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

MaltBlue.com:
Zend Framework 2 Core Concepts - Dependency Injection
December 17, 2012 @ 10:09:53

In this new post Matthew Setter has posted about one of the core concepts behind the structure and use of Zend Framework 2, its use of dependency injection to handy object relationships and access (via Zend/Di).

As Zend Framework 2 is well and truly here, before some of us who are new to it dive right on in, whether you're completely new or, like me, migrating from Zend Framework 1, it's really important to ensure that we understand the core concepts on which it's based. [...] In this, the first part in the series, I'm going to go through what dependency injection (DI) is. However, as there are a number of great posts already available on the topic by some very experienced developers, [...] I'm not going to rehash them.

Instead he extracts out useful tips from posts of a few other sources on ZF2 and dependency injection in general: Matthew Weier O'Phinny, the ZF2 manual, Martin Fowler on dependency injection, Wikipedia and more. He also includes lots of links to more great articles on the subject, both ZF2-specific and for DI iin general.

0 comments voice your opinion now!
zendframework2 dependency injection zenddi component quotes


blog comments powered by Disqus

Similar Posts

FrSIRT: Vivvo Article Management CMS SQL Injection and PHP File Inclusion Vulnerabilities

Kore Nordmann's Blog: ezcGraph introduction article

Jakub Zalas' Blog: Managing object creation in PHP with the Symfony2 Dependency Injection component

Richard Lord's Blog: PHP 5.2 - Nesting level too deep - recursive dependency?

NetTuts.com: Dependency Injection in PHP


Community Events





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


interview tool version introduction library security conference laravel language community voicesoftheelephpant opinion podcast artisanfiles release series list composer symfony framework

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