
The Toolchain We Actually Use to Keep AI-Written Code Clean
A follow-up to Why Clean Code Makes Your AI Assistant Smarter (and Cheaper) - this time, what's actually running under the hood.
Latest Code Posts

Why Clean Code Makes Your AI Assistant Smarter (and Cheaper)
Inconsistent code doesn't just slow your team down, it quietly inflates your AI costs too. Here's how automated linting and formatting hooks keep your codebase clean, your AI output sharper, and your token spend under control.
We Need to Talk About Website Animations: GSAP, CSS-Only Motion, and Where Barba.js Fits In
Most sites don’t have an animation problem, they have an intention problem. Here’s how we decide when to use GSAP, when CSS-only motion is enough, and when Barba.js is actually worth the extra complexity.

TypeScript - PHP style error checking in JS
What is it and should you be using it? Does it replace other libraries or work alongside them? We take a look and find all the answers in this deep dive / tutorial.

Planting Trees with Code
A Digital are supporting tree planting projects through a partnership with Ecologi. For every piece of code we commit to our version control system, we're planting a tree!

Integrating External Database Connections
Exploring database connection methods in CraftCMS and Yii. We connect to a Microsoft Azure database and show examples of how we can handle the data in a number of different ways between our plugin code and templates

Refactoring a slow search page with ajax to load faster
When connecting to enterprise systems we need to return the most recent data, this means we can't use caching but we end up with a slow loading page as a result. In this article we explain how to improve the speed whilst keeping the data fresh.

How higher traffic and sales exposed hidden performance issues and bugs
An honest look into some weaknesses in a site we've built, exposed by the perfect storm of situations. We set the scene and describe how we fixed it.

Compiling Tachyons CSS with Gulp
Following up on a previous post, this is how we implemented Tachyons into our CSS build process with Gulp.

Setting up a service to clear Craft's job queue
Using Redis for higher availability is great, but there is a potential pitfall.

Understanding and organising your page headings
Getting to grips with HTML headings on each page of your website is a surprising simple, yet powerful way to improve both accessibility and technical SEO.