
Dev Corner

Unleashing the power of ECA: No-code coding for ambitious site builders
Last year I gave a presentation at DrupalCon about automating things using the powerful ECA Module. Here's the recording!

Website Availability - handling an outage
How do you get a website back up, when it goes down?

Containerless Dev environments for Drupal development with Nix
The recording of my talk from DrupalCon this year is now available!
This is perhaps my most technical talk, meant for developers and tinkerers who would like an easy way to get started with Drupal.

Adding power to your shell - my home manager configuration
At Freelock, we're starting to use Nix to manage different PHP environments, and be able to incrementally update websites.

Creating Product Bundles in Drupal Commerce
As we start developing mini-products to offer to our clients, we've found we actually need to group multiple products under one purchase.

Rate Limiting an aggressive bot in Nginx
High load isn't necessarily an emergency, but it may be a heads-up before a site noticeably slows down. Sometimes there are weird spikes that just go away, but sometimes this is an indication of a Denial of Service.

Deploying blocks and content to other site environments
If you have a current Drupal site (built in Drupal 8 or later) you no longer need to entirely rebuild your site -- ever again. That doesn't mean it couldn't use a freshening up now and then.

A new approach to Drupal theming, just in time for Drupal 10
Over the past few months, I've fielded a lot of minor styling requests, and as I work through each problem, I've almost always ended up with substantially less code than was there before.

Progressive Enhancements with VueJS and Drupal
In April I gave a talk about Progressive Enhancements at the national DrupalCon 2022 conference in Portland. Here's a recording of the full session, which was targeted towards Drupal developers.

Aggregate fields in Drupal 8 views
Views module has long been the killer feature of Drupal, making it easy for a site builder or skilled administrator to essentially create complex SQL queries through a web interface, without knowing SQL.

Deployment and release strategies
When you build a new website, going live is relatively easy. You get ahold of a domain name, point it at a webhost, put the website code there, and you're up and running!
After a site is live, it gets a lot more complicated.

Using modern Javascript for quick utility scripts - bulk search and replace
With as much Javascript work as we're doing these days, I'm starting to do more and more quick one-off utilities in Javascript. Yesterday I had such a task: update over a hundred different ad slot codes that appeared multiple times in a text file.