As has been my custom for the past eight years, I like to spend a bit of time at the end of the year reflecting on the year that has been, looking ahead to the year that is to come, and noting down these reflections for posterity. Professionally Since selling...
31 December 2018 · More →
This week I've been playing with Tailwind, which is a "Utility-First CSS Framework for Rapid UI Development". At first I was skeptical of the benefits of "utility-first" CSS but I'm pleased to say that after using Bootstrap 4 for a while (which contains some utility classes) and Tailwind for a...
20 September 2018 · More →
Recently, I was working on some Laravel validation that used the array syntax to validate fields. For example: $validator = Validator::make($request->all(), [ 'database_options.name' => 'required|min:3|max:64', ]); However, in this case the error message that is returned looks like this: The database options.name field is required. Not ideal. The Laravel docs...
30 April 2018 · More →
For some time now my blog has been hosted on Medium. I liked Medium for several reasons: I didn't have to worry about things like maintaining a server or software updates. The editor made the writing experience really nice. Built it social aggregation meant I got more eyes on my...
1 April 2018 · More →
So you have a Laravel app set up and you want to use the new Font Awesome 5 goodness in your Vue.js components. Here’s how you do it. 1. First, install the required packages: yarn add @fortawesome/fontawesome yarn add @fortawesome/fontawesome-free-solid yarn add @fortawesome/fontawesome-free-brands yarn add @fortawesome/vue-fontawesome We’re going to use...
9 March 2018 · More →
As has been my tradition for the last seven years now I like to spend a bit of time at the end of the year reflecting on the year that has been and looking ahead to the year that is ahead, and note down some of these reflections for posterity....
3 January 2018 · More →
Last week I traded my iPhone for a Google Pixel 2, after nine years of being a faithful iPhone fan. In the article I explained my reasons for wanting to switch away from Apple to Google. As it turns out, quite a few people have found themselves in the similar...
30 October 2017 · More →
Let me give you a bit of context. I’ve been an avid iPhone owner since I bought a 3G in 2008. I’ve loved iPhones since I first held one and earnestly upgraded to the new iPhone every 2 years (mostly skipping the “S” models). I currently own a Jet Black...
4 October 2017 · More →
If you’ve not already read it yet, you should read Adam Wathan’s article on how he reached the conclusion that using utility classes was the best way to build consistent components in CSS. As I read the article I followed his conclusions and agreed with his justifications. It sounded like...
16 August 2017 · More →
This one caught me out yesterday. If you use a variable in a PHP closure and try and modify it inside the closure, you will find that the variable outside the closure is not modified. You must pass the variable by reference for it to work. Turns out that when...
10 February 2017 · More →