Categories
Development WordPress

Unit Tests for your WordPress plugin using WP CLI and PHPUnit

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 […]

Categories
Development Freelancing WordPress

Travelling the web on the WordPress HTTP API

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 […]

Categories
Development Experiences Freelancing Laravel WordPress

Some news updates.

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 […]

Categories
Development Experiences Freelancing WordPress

Thoughts on Unit Testing

I’ve never been someone who understood the value of unit testing. During my programming studies, when I learned new languages like PHP or JavaScript, unit testing was never a topic that came up. The byproduct of a non university, tertiary education I guess? The first time I discovered unit tests was when I was working […]

Categories
Development Experiences WordPress

WordPress Plugin Development Best Practices

The slides for my talk on WordPress Plugin Development at CMS Africa this morning

Categories
Book Development Experiences Freelancing

The Clear View – Get the MOST from your freelance developer

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 […]

Categories
Development Laravel WordPress

Monitor MySQL command line imports and exports on Ubuntu using Pipe Viewer

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 […]

Categories
Development Freelancing WordPress

Setting up Trusted SSL Certificates for Local Development, Using mkcert on Ubuntu 18.04 with Apache.

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 […]

Categories
Development WordPress

Extending WordPress

A guide to building your first plugin, presented at the WordPress Stellenbosch Meetup on 30 January 2019.

Categories
Book Development Freelancing Laravel WordPress

11 steps to getting the most out of your freelance developers

A handy guide for clients working with freelance developers so nobody gets hurt… Working with freelancers can be, for some, the equivalent of playing with a loaded gun. It can work out, but there are times when it can really affect your business and your life. As a client, you need a handy guide to […]