Sticky Posted in Laravel 21 Oct. 2018 @ 02:45 PM

Dealing with FormData

FormData can get messy. Really messy. Because, apparently, null === null”. With a combination of a frontend helper and a backend middleware, all problems may be solved in a pretty intuitive way. Note: This is designed for the Laravel/​Vue combination – feel free to amend to your requirements; the concept is pretty damn simple.

Linked in Laravel 27 Nov. 2018 @ 07:33

Giving Collections a Voice

Posted in Vue 8 Aug. 2018 @ 07:22 PM

Vuex State Helpers

Shorter code is great, in almost every situation. Even shorter code is amazing.

Linked in Vue 7 Jul. 2018 @ 10:01

Vue.js Fundamentals

Linked in Laravel 7 Jul. 2018 @ 09:59

Easily implement subscription models with Laravel Plans

Posted in Laravel 7 Jul. 2018 @ 09:45 AM

Some quick, useful Laravel tips

Since November, I’ve been working with a small web-dev firm that uses Laravel for all its clients’ API backends. Over time, we’ve been taking new approaches to solving problems, and simplifying our code to make life easier in the long run. Here are some quick and useful tips we’ve been following as part of this process.

Posted in Laravel 5 Jan. 2018 @ 01:10 PM

How to add a custom validation message in Laravel 5.5 Form Requests

In Laravel 5.5, JSON responses are a little different. In particular, you’ll find that validation exceptions have changed, and it’s easy to miss what the upgrade guide says about it.

Linked in Movies & TV 27 Dec. 2017 @ 08:03

Altered Carbon

Linked in Web Development 27 Dec. 2017 @ 08:01

Game of tetris in just over 500 bytes, anyone?

Linked in Web Development 27 Dec. 2017 @ 07:55

Moon: Small like Preact, but for Vue.

Linked in Laravel 27 Dec. 2017 @ 07:51

Goodbye controllers, hello request handlers

Posted in ProcessWire 28 Oct. 2017 @ 12:48 PM

Using hook classes in ProcessWire modules

After shrugging at Jumplinks’ massive module class, I’ve begun writing in a more OOP way, and there are a couple of things that have come in handy in terms of SoC of late. One of them is hook classes, which helps split hook functions out into their own classes in an intuitive way.

Linked in ProcessWire 14 Oct. 2017 @ 03:57

Sitemap for ProcessWire

Linked in Laravel 14 Oct. 2017 @ 03:31

ZA Phone for Laravel

Linked in Movies & TV 13 Jan. 2017 @ 08:30

Magic and reality are blurred in the new trailer for Sleight