Published onMarch 10, 2023Scripts To Setup Ubuntu For PHP and JavaScript DevelopmentBash scripts for configuring Ubuntu for PHP and JavaScript development.Read more →
Published onOctober 16, 2021How To Git Revert A Merged Pull RequestReverting a merged pull request isn't as simple as a normal commit.Read more →
Published onSeptember 10, 2021Using PHP Namespaces And Autoloaders In WordPress PluginsWhy and how I use a PSR-4 Autoloader in a WordPress plugin.Read more →
Published onSeptember 2, 2021Adding Attributes To WordPress Block TypesHow to add extra Gutenberg block attributes to some block types, all block types or one block type.Read more →
Published onAugust 31, 2021TypeScript For WordPress DevelopersWhy TypeScript is important for WordPress developers.Read more →
Published onAugust 24, 2021Windows PHP8 Development Setup With WSL2How to setup Debian for PHP8 and JavaScript web development in Windows with WSL2.Read more →
Published onAugust 23, 2021Windows PHP7 Development Setup With WSL2How to setup Ubuntu for PHP and JavaScript web development in Windows with WSL2.Read more →
Published onAugust 22, 2021Installing Windows Subsystem For Linux For Web Development On WindowsHow to setup WSL2 for web development on Windows.Read more →
Published onFebuary 27, 2021Published atDev.toParsing WordPress Block Data Before WordPress 5.0, content for posts was stored as a string. It may or may not have contained HTML...Read more →
Published onFebuary 17, 2021Published atDev.toJosh Update: 2021Last week I shared some Josh news on twitter that it was my last week at Saturday Drive. To answer a...Read more →
Published onJanuary 13, 2021Published atDev.toUsing Docker For Local Development Of Headless WordPress Sites With NextJSBack in 2016, I was talking about adding how the WordPress REST API was the first step in evolving Wo...Read more →
Published onJanuary 3, 2021Published atDev.toHow To Use WordPress As An Authentication Provider For LaravelLike a lot of PHP and JavaScript developers, I started web development by learning enough PHP and the...Read more →
Published onJanuary 1, 2021Published atDev.toI Love Writing JavaScript, But Livewire Is A Great Way To Avoid Writing JavaScript For Stupid ReasonsI suppose it is tempting, if the only tool you have is a React, to treat everything as if it were JS...Read more →
Published onNovember 30, 2020Published atDev.toUnit Testing Classes That Call Functions From WordPress CoreIn general, I make the distinction between unit and integration testing based on dependencies. A unit...Read more →
Published onNovember 22, 2020Published atDev.toI Made An App With Userbase And Have Written A Blog Post About ItThis blog post is about Userbase. It's not a tutorial. I made one app with Userbase, these are some i...Read more →
Published onMay 7, 2020Published atDev.toHow To Use Docker For WordPress DevelopmentWhen developing WordPress sites, apps, plugins and themes, it's always a good idea to work with a loc...Read more →
Published onMarch 3, 2020Published atDev.toDeveloping WordPress Blocks Without WordPressNow that WordPress has React-powered editor with code decoupled from WordPress, we do not need WordPr...Read more →
Published onFebuary 1, 2020Published atDev.toTyped Properties In PHP Are NeatoUntil recently, for a PHP and JavaScript developer, avoiding bugs caused by variables being the wrong...Read more →
Published onJanuary 31, 2020Published atDev.toHow To Immutably Update An Array In TypeScriptUsing an array to collect objects is useful. But, it presents some challenges with searching and upda...Read more →
Published onJanuary 24, 2020Published atDev.toTesting Node's Event EmitterToday at work, I implemented a basic event system using Node's EventEmitter class. I am developing a...Read more →
Published onJanuary 22, 2020Published atDev.toGitlab CI For A TypeScript Project Bootstrapped With TSDXSince I started working at Saturday Drive I've spent a lot of time learning about CI/CD using self-ho...Read more →
Published onJanuary 18, 2020Published atDev.toWhy I Use Yarn, Not npmUpdate: This post is based on using Yarn 1. A major update Yarn 2 has been released. I use Yarn 1.x....Read more →
Published onJanuary 17, 2020Published atDev.toA Few Things I Do Every Time I Start A New Gatsby SiteI'm a big fan of Gatsby.js. It powers my blog and a my other random sites. I've been trying our some...Read more →
Published onJanuary 10, 2020Published atDev.toReturning A Promise From A Function Is Extra Useful With TypeScriptI published a post recently about returning promises from JavaScript functions. The example code was...Read more →
Published onJanuary 7, 2020Published atDev.toReturning A Promise From A JavaScript Function Is UsefulOne JavaScript feature that has tripped me up a bit recently is the difference between a function tha...Read more →