Decorating service classes

6th December 2018 6:34 pm

I've written before about using decorators to extend the functionality of existing classes, in the context of the repository pattern when…

Simplify your tests with anonymous classes

20th October 2018 1:48 pm

Anonymous classes were added in PHP7, but so far I haven't made all that much use of them. However, recently I've been working on building a…

Adding React to a legacy project

16th October 2018 8:00 am

The project I'm currently working on is a textbook example of what happens when a project uses jQuery when it really ought to use a proper…

Do you still need jQuery?

11th October 2018 8:21 am

There was a time not so long ago when jQuery was ubiquitous. It was used on almost every website as a matter of course, to the point that…