PHPNews

Explicit Global State with Context Objects

Explicit Global State with Context Objects Global State is considered bad for maintainability of software. Side effects on global state can cause a very nasty class of bugs. Context objects are one flavour of global state. For example, I remember that Symfony1 had a particularly nasty context object that was a global …

Continue reading »

Written by Benjamin Eberlei - - Aggregated on Sunday March 12, 2017


Explicit Global State with Context Objects

Explicit Global State with Context Objects Global State is considered bad for maintainability of software. Side effects on global state can cause a very nasty class of bugs. Context objects are one flavour of global state. For example, I remember that Symfony1 had a particularly nasty context object that was a global …

Continue reading »

Written by Benjamin Eberlei - - Aggregated on Sunday March 12, 2017


How I use Wordpress with Git and Composer

How I use Wordpress with Git and Composer I maintain two Wordpress blogs for my wife and wanted to find a workflow to develop, update, version-contol and maintain them with Git and Composer, like I am used to with everything else that I am working on. The resulting process is a combination of several blog posts and …

Continue reading »

Written by Benjamin Eberlei - - Aggregated on Sunday February 21, 2016


How I use Wordpress with Git and Composer

How I use Wordpress with Git and Composer I maintain two Wordpress blogs for my wife and wanted to find a workflow to develop, update, version-contol and maintain them with Git and Composer, like I am used to with everything else that I am working on. The resulting process is a combination of several blog posts and …

Continue reading »

Written by Benjamin Eberlei - - Aggregated on Sunday February 21, 2016


How I use Wordpress with Git and Composer

How I use Wordpress with Git and Composer I maintain two Wordpress blogs for my wife and wanted to find a workflow to develop, update, version-contol and maintain them with Git and Composer, like I am used to with everything else that I am working on. The resulting process is a combination of several blog posts and …

Continue reading »

Written by Benjamin Eberlei - - Aggregated on Sunday February 21, 2016


The ContainerTest

The ContainerTest This is a short post before the weekend about testing in applications with dependency injection container (DIC). This solution helps me with a problem that I occasionally trip over in environments with large amounts of services connected through a DIC. The problem is forgetting to adjust the DIC …

Continue reading »

Written by Benjamin Eberlei - - Aggregated on Friday June 12, 2015


The ContainerTest

The ContainerTest This is a short post before the weekend about testing in applications with dependency injection container (DIC). This solution helps me with a problem that I occasionally trip over in environments with large amounts of services connected through a DIC. The problem is forgetting to adjust the DIC …

Continue reading »

Written by Benjamin Eberlei - - Aggregated on Friday June 12, 2015


The ContainerTest

The ContainerTest This is a short post before the weekend about testing in applications with dependency injection container (DIC). This solution helps me with a problem that I occasionally trip over in environments with large amounts of services connected through a DIC. The problem is forgetting to adjust the DIC …

Continue reading »

Written by Benjamin Eberlei - - Aggregated on Friday June 12, 2015


The ContainerTest

The ContainerTest This is a short post before the weekend about testing in applications with dependency injection container (DIC). This solution helps me with a problem that I occasionally trip over in environments with large amounts of services connected through a DIC. The problem is forgetting to adjust the DIC …

Continue reading »

Written by Benjamin Eberlei - - Aggregated on Friday June 12, 2015