Disclaimer: I use the term “JavaScript dependency” to denote a dependency on JavaScript to reach content, not the field of JavaScript dependency injection itself. Some, most or perhaps even all of the content below is highly opinionated, strongly worded and … Continue reading

We all use patterns in our daily lives. Especially when you are a (web)developer. You can’t go without them. In every block of code there is a pattern to be seen (and thats good!) though sometimes the pattern might not be known by name when seen. One pattern that everybody should recognise when going over a piece of code is the adapter pattern.
It’s one of the most easiest patterns to spot. A simple line as $foo->getAdapter(); is enough. Same goes for foo::factory();. read more…

Volg ons