Often when I write a blog post, part of the reason I write it is to document things that I tend to forget. This is one of those times. Requirements: PHPUnit: At the time of this writing, WordPress only supports the latest stable 7.x version of PHPUnit, and recommends installing it globally. wget https://phar.phpunit.de/phpunit-7.5.9.phar chmod… Continue reading Unit Tests for your WordPress plugin using WP CLI and PHPUnit
At WordCamp Europe 2019 in Berlin, I was accepted to present a workshop, which was on the WordPress HTTP API. Unfortunately we had some WiFi issues, and not all the attendees were able to complete the workshop. Also, there were some folks who were not able to attend at all, due to the workshop being… Continue reading Travelling the web on the WordPress HTTP API
Today, I turned 42. If you’re a fan of sci-fi, specifically Douglas Adam’s “Hitchhiker’s Guide to the Galaxy”, you’ll understand both the importance of this number, and the reference in the title. I do think it’s sort of apt that the number 42 was used in this context. When I hit 40 I felt good… Continue reading The Answer to Life, The Universe, and Everything.
I don’t think I completed my year end review for 2018 or wrote a resolution post for 2019. However a bunch of things have happened so far this year, mostly in the past few months. As it’s almost exactly halfway through the year, I thought it might be cool to share them. As one door… Continue reading Some news updates.
The slides for my talk on WordPress Plugin Development at CMS Africa this morning
Have a clear understanding of your project requirements to ensure you get the most out of your freelance developer The purpose of this post is to ensure that you know precisely what you need to do in order to get the most out of the freelance developer you’re about to hire. You need a complete… Continue reading The Clear View – Get the MOST from your freelance developer
If you’ve been working with PHP/MySQL based websites for any amount of time, you’ve probably heard about the MySQL command line tools for importing and exporting your database. The syntax is quite simple, for exports you run which exports the database to a file on the local machine. For imports you run which imports the… Continue reading Monitor MySQL command line imports and exports on Ubuntu using Pipe Viewer
One of the many little annoyances that I encounter while working on client sites, is when the client has a valid SSL certificate installed on their server, but the HTTPS redirection happens in code instead of at the server level. This means that even if I export the database with the site urls replaced to… Continue reading Setting up Trusted SSL Certificates for Local Development, Using mkcert on Ubuntu 18.04 with Apache.
A guide to building your first plugin, presented at the WordPress Stellenbosch Meetup on 30 January 2019.