Latest article: 2024-05-25
Anti-Pattern: Assign in if
In a lot of the code reviews I do, I see the same pattern coming back again that I want to remark on every time I see it. The pattern looks like this: <?php if ($foo = Model::find($id)) { // Do some things with $foo. } else { throw new \Exception('...'); } This code exhibits 2 things that can be improved. We don’t need the else branch and it also does the assign-in-if.
2021-02-21
My last facets release?
2019-06-11
Huge thanks to Ordina for stepping up and contributing back to Drupal & the Search API Ecosystem
2019-05-08
Decorating drupal services
2016-09-12
Deploying drupal 8 with jenkins
2016-06-12
Back to work
2016-04-23
Third facets alpha released.
2016-04-18
Create a facet from scratch
2016-04-12
Second facets alpha released.
2016-02-04
First facets alpha released.
2016-01-30
Module acceleration program
2015-11-30
Creating a custom processor for facets
2015-08-03
Lazy builder callback
2015-06-30
Building multiple folders with Grunt.
2015-03-22
Radio wizi
2015-01-30
Porting my Blog to Jekyll
2013-09-28
DrupalCon Prague
2013-02-07
Phpbenelux 2013
2012-10-31
Drupal Migrate
2012-07-31
CodeIgniter email class
2012-07-17