Skip to main content
[2022-08-22]

Drupal: cache tags for all, regardless your backend

#drupal #caching #cacheable metadata

Phil Karlton is quoted as having said, "There are only two hard things in Computer Science: cache invalidation and naming things." As someone who suffers horribly from the latter, I'm glad Drupal's caching APIs make the former a breeze.

[2022-08-07]

ReactPHP for Drupal deployments and workers

#drupal #reactphp #drush

I recently held a live stream where I walked through the continuous integration and deployment (CI/CD) of a Drupal project to DigitalOcean's App Platform and other CI/CD items. App Platform has its quirks, but it's simple to build an application with various components.

[2022-04-27]

Improve the Drupal developer experience to empower the Ambitious Site Builder

#drupal

Today at DrupalCon we had the infamous Driesnote. The tone of the Driesnote focused on what we, as a project, should strategically focus on while building features on the Drupal 10.x.x branch. Dries wants to bring Drupal back to its roots by focusing on the site builder audience. This includes automatic updates, the project browser, and reimagining distributions as composable starter kits.

[2022-01-11]

hook_update_N or hook_post_update_NAME

#drupal

Today I realized that I had no idea when it was appropriate to use hook_update_N or hook_post_update_NAME. I have ideas, but I was not sure about the concrete reasons. My gut instinct is that hook_update_N is for schema and other database-related changes.

[2022-01-06]

Documenting PHPStan + Drupal!

#drupal #phpstan #phpstan-drupal

In the early days of Drupal 9, most folks were only using PHPStan on their Drupal sites via drupal-check for deprecation checks. I am excited to see more folks using PHPStan directly with phpstan-drupal to perform static analysis and deprecation checks.