A beginners guide to testing your existing Laravel application

Last night I gave a talk at the Cape Town PHP Meetup introducing the concepts of testing an existing Laravel application. As I did not have time to prepare slides, here are the links to the relevant items I discussed in the talk. Confident Laravel (course, highly recommended) Grumpy Learning (course and books, also recommended)… Continue reading A beginners guide to testing your existing Laravel application

WordPress Plugin Development Best Practices

This morning I presented a workshop at WordCamp Johannesburg. Here are the slides for that workshop Here is the GitHub repository If you want to see the updated plugin code, with the security fixes, you’ll need to switch to the feature/more-secure-plugin branch.

The two worst things you can say to your freelancer.

Frustration

I’ve been freelancing full time for just over three years now, having spent 10 years developing for either digital agencies or small to medium sized businesses, in various roles. In the 3+ years since I switched to freelance development, the two sentences that I’ve heard/read the most from clients, and the ones that illicit the… Continue reading The two worst things you can say to your freelancer.

A Quick Hack to Writing Testable Code

Write Testable Code

I’ll be the first to admit that I am fairly inexperienced in the practical application of unit testing, or any kind of automated testing. That’s not to say I don’t understand what these things are. I was first exposed to the concept of unit tests back in 2008 and automated browser testing in around 2012.… Continue reading A Quick Hack to Writing Testable Code

Unit Tests for your WordPress plugin using WP CLI and PHPUnit

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… Continue reading Unit Tests for your WordPress plugin using WP CLI and PHPUnit

The Clear View – Get the MOST from your freelance developer

A-Clear-View

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