Skip to main content
[2023-02-14]

Debugging your render cacheable metadata in Drupal

#drupal #caching #cacheable metadata

One of Drupal's greatest features, and often mysterious underworking to many site builders and developers, are its caching layers especially render caching. We have all been there before: we have no idea why it's not quite working, so we press "Cache rebuild" (or more infamously, "Flush all caches" of the pre-Drupal 8 eras), and like magic, things are displaying properly.

[2023-01-31]

The trinary states of Drupal access control: allowed, forbidden, neutral.

#drupal

One of my favorite features of Drupal is the user access control experience. Drupal has a robust permission and role (access control list) API that allows for fine-tuned control of what users can and cannot do. Drupal developers end up interacting with Drupal's access system in one way or another. Every project has some request to enhance or alter how normal access works.

[2023-01-17]

Launching my wife's cookie shop web store with Drupal 10 and Square

#drupal #drupal-commerce

My wife owns her custom cookie shop, which sells decorated sugar cookies. On top of her regular custom orders, she does special cookies and cookie sets for each holiday. Recently she moved from PayPal to Square for her invoicing to leverage their more extensive offering of tools to merchants.

[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.