Thoughts, stories and ideas.

PHP
Premium

How to write testable code

In this blog post I will describe my personal experience with writing testable code. We will go over a few specific anti-patterns that have a negative impact on the testability of your code. Per anti-pattern we'll describe how to recognize it and how you can...

PHP
Premium

PHP - Static vs Self

This blog post will go over the differences between static and self, when to use which and what the possible risks of static usages are. The differencesThe main difference between static and self has to do with late static binding. In a nutshell this means...

Success! Your membership now is active.