PHP Classes
elePHPant
Icontem

PHP Dependency Injection Container package blog

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

Latest PHP Dependency Injection Container package blog posts

  All package blogs All package blogs   PHP Dependency Injection Container PHP Dependency Injection Container   Blog PHP Dependency Injection Container package blog   Post article Post article  

2. Improving Your PHP Project Structure With Dependency Injection Part 2: Implementing It in Practice

Posted on: 2015-11-09

In the previous article, we talked about Dependency Injection, the Single Responsibility Principle, and the various ways it can be implemented.

Read this article all the various ways Dependency Injection can be used to improve your project structure, how Dependency Injection containers work, and how to build a Dependency Injection Container from scratch looking at a real Dependendency Injection Container package that autoload dependency classes only when they are needed.


Blog More ...   Post a comment Post a comment   See comments See comments (4)   Trackbacks (0)

1. Improving Your PHP Project Structure with Dependency Injection Part 1: How it Works?

Posted on: 2015-11-03

Dependency injection is a design pattern that is implemented in many of the modern PHP frameworks because it helps organizing better the code of multiple components that depend on the same service of information or behavior.

Read this article to learn what is dependency injection and inversion of control and how it can be implemented in PHP to benefit your projects' structure.


Blog More ...   Post a comment Post a comment   See comments See comments (9)   Trackbacks (0)


  All package blogs All package blogs   PHP Dependency Injection Container PHP Dependency Injection Container   Blog PHP Dependency Injection Container package blog   Post article Post article