Back to Politics... Road Safety

Been extremely out of active politics basically since the Langford - Juan de Fuca by-election. Extremely good reason and all but great to be getting back into active politics. Got a new reason to be majorly engaged too - a son - so now have a moral duty to try to make things better. First on my list right now is road safety.

    Debugging Drupal with Xdebug

    Xdebug is a PHP extension that can massively improve your debugging experience and speed – for both backend and frontend developers. Conversely, it can also drag down your php speed to a crawl, so you want to configure it to be a simple toggled – and only enable when you are using it. Xdebug works with most IDEs but I will be specifically showcasing usage with PHPStorm as that is what I use it with.

      Standardizing Sites with Drupal Scaffolding

      Learn how to use the Drupal Composer Scaffolding plugin - both customizing it in your site and creating new data sources for it to standardize and improve your site builds. Presented at DrupalCon 2023 Pittsburgh

        Winter Weather Pedestrian Safety in Sooke

        This is unfortunately a story of failure, and a call to change. Our current method of ensuring safety and accessibility for pedestrians in Sooke in the winter is not working. There are short term improvements we can make but long term we need a fundamental shift.

          The Joy of Automated Tests

          Automated tests are such a joy.  I have at times deleted tests but I've never regretted writing them. Today's Drupal 10 compatible release of NG Lightbox was another reminder

            Getting the parent node of a Drupal 8 node

            There are some circumstances that you want to get data from the node one level up a menu from your current node. However, doing that is not self-explanatory since there isn't actually any direct relationship between the nodes. I'll be referring to the nodes as "parent" and "child" for simplicity despite this.

              Including Patches in Drupal Contrib Modules

              Very occasionally in building a Drupal module (especially for 7.x), you can't actually quite do what you want to do without a change to another module or core. Every effort should be made to avoid that but there are instances that it is truly required and the right method.