Articles
My thoughts and ideas on where AI, WordPress and technology are heading next.
-
Presentation: Gutenberg Now, Next and How to use it better today
I recently gave a presentation to the folks over at Cornershop Creative about Gutenberg. The full video of the presentation, including a 30mins Q&A, is…
Watch the video for “Presentation: Gutenberg Now, Next and How to use it better today” on YouTube
-
Resources for creating curated experiences with the WordPress block editor
I’ve been diving into how to provide a more curated experience for people using the WordPress block editor. Here follows a (growing) set of useful…
-
I started a YouTube channel!
Since the start of 2022 I’ve been quietly working on a new WordPress Gutenberg YouTube channel focused primarily on developers around the block editor. If…
Watch the video for “I started a YouTube channel!” on YouTube
-
What are controls and resolvers in WordPress Core Data
The @wordpress/core-data package can be fairly intimiating. I spent a while a couple of months ago trying to wrap my head around it – especially…
-
Setting default WordPress Editor Block Templates via PHP from Block Grammar
Update: an improved solution has been suggested in the comments. Do read the article but then skip to the comment to find a newer solution.…
-
Mocking @wordpress/api-fetch in Gutenberg unit tests
Learn how to easily mock out and control `@wordpress/api-fetch` in your unit tests,
-
Mocking WP_Http in WordPress PHP Unit tests
If you write automated tests for your PHP code (and you should try!) you’ll often find yourself needing to mock/stub calls to pieces of code…
-
Automatically delete your Amazon Alexa voice recordings
Many of your will have a version of Amazon’s Alex home voice assistant speaker (aka “smart speaker”). You’re also probably aware that Amazon records a…
-
Higher Order Reducers in Redux
As you may already be aware, a high order function is a function that operates on another function and returns a new function. This is…
-
What is Middleware in Redux?
In a previous article I wrote about how Redux stores provide a dispatch function to “send” action objects to the reducer in order to update…
-
Learn Redux by implementing your own Store
I recently (re)watched Dan Abrmov’s Egghead.io series on Learning Redux and used it to re-create my own Redux store from scratch with tests.