Prerender Javascript Frontends

If you have spent a bit of time building Javascript apps with React or Vue, I’m sure you’ve heard of server-side rendering (SSR) and static site generation (static sites). Both of these have their place in the Javascript ecosystem with the main objective of delivering complete HTML to the client (rather than having the client […]

WordCamp Joburg 2017 Composer Workshop

Composer has been around for a little while now and it has made the lives of thousands of PHP developers around the world just a little better (OK, quite a lot better). Using Composer in your theme and/or plugin will allow you to add a range of great features and libraries that are available to […]

WordCamp Cape Town 2017 Composer Workshop

I had the privilege of doing a workshop at WordCamp Cape Town 2017 on Composer and WordPress. I covered how we can use Composer to manage WordPress projects and how we could create parity between the different environments we have (like development, staging and production). Tools I used: Composer Bedrock What I would have liked to […]

Setting the PHP version in command line on CPanel Servers

Over the last couple of days, I’ve been really struggling to try to get Composer to install a project on a CPanel server. As you know, Composer can also check environment constraints and for some reason php -v would show PHP 7.1 but when running composer install or php composer install, it would say that I’m […]

Get Custom Post Type by Slug

I recently had a case where I needed to get the post object for a custom post type in WordPress – I had to do this by a slug that the user passed in. There is a function (get_page_by_path) which I initially thought was to only find the post object for pages but it actually […]

WordCamp Joburg – Want to setup an online store?

Here are my slides from my workshop from WordCamp Joburg 2016. Most of the content was covered in the workshop (not on the slides) but the slides might give you a good idea of the flow. The stuff you’d really care about is most likely where to get the software that we used. Here are the […]

What is continuous integration and what does it have to do with WordPress?

CONTINUOUS INTEGRATION WITH WORDPRESS SERIES This is the first part of a 6-part series of posts about continuous integration with WordPress. You can find out more information about why I’m doing this here. What is continuous integration and what does it have to do with WordPress? Using Github and Travis CI to begin your continuous […]

Book Review: The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution

This must possibly be one of the best books I have ever read. Not only that, but I learnt more about computers and how they work than at any place of education. If you’re into tech and if you’re into innovation, then this book is a must read. Not only does is paint a really […]

Introduction to Continuous Integration with WordPress – WordCamp Cape Town 2016

At WordCamp Cape Town 2016 I did a quick intro workshop into continuous integration with WordPress, which covered the principles of continuous integration (CI) and a few ways to start with unit testing and integration testing. Sadly, I didn’t have enough time to get through the entire workshop and really wanted to get people trying out […]

Discomfort: The Best Way to Learn

Sometimes, you just have to put yourself out there to push yourself to learn great things and standing in front of people may be the best way to learn. On Thursday (7 September) I’ll be doing a workshop at WordCamp Cape Town 2016 on continuous integration. You may ask, what is “continuous integration”? Well, up to […]