June 29, 2016Dependency Injection is all about code reusability. It’s a design pattern aiming to make high-level code reusable, by separating the object creation / configuration from usage.Consider the following code:
<?phpclass Test {protected $dbh;public function __construct(PDO $dbh)
{
...
February 26, 2016We skipped January’s Sourcehunt, but we’re back now, ready to boost the stardom of more projects!mult1mate/cron-manager [125 ★]
mult1mate/cron-manager is a flexible tasks manager designed for MVC-type applications. It’s used instead of crontab and its purpose is to provide an easy way to manipulate repetitive...
February 12, 2016A search for “dependency injection container” on packagist currently provides over 95 pages of results. It is safe to say that this particular “wheel” has been invented.However, no chef ever learned to cook using only ready meals. Likewise, no developer ever learned programming using only “ready code”.
In...
Recent Comments