Mike Rockétt

2023-04-01 #Vue

Routisan is Retired

But it’s far from dead. I’m rebuilding it in TypeScript, and will be releasing it under a new name soon.

2021-07-31 #PHP

Pipelines for PHP

Some months back, I forked the League’s Pipeline package to give it a little more oomph.

2020-12-20 #JavaScript

To name, or not to name

In the world of JavaScript modules, default exports are really a compatibility layer for CommonJS-of-old. Named exports solve problems may developers experience – this post explores them.

2020-12-20 #Vue

Component Factories for Vue

It’s not uncommon to follow the default approach and register global Vue components manually. But there’s a better way. Two of them, in fact. And we can do it for Vuex too, but that’s for another post.

2020-12-20 #Vue

State Helpers for Vuex

Shorter code is great. Even shorter code is even better. In this post, you’ll learn how to drastically shorten the length of your Vuex mutations, making for some really clean code.

2020-12-20 #Laravel

Some quick and useful Laravel tips

Since November 2017, I’ve been working with a small web-dev firm that uses Laravel for all its client 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.

2020-12-20 #Laravel

Custom Messages in Laravel Form Requests

From 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.

2020-12-20 #Apache

Macroify your Apache Virtual Hosts

If you’re on Windows, chances are you don’t have a handy package like Valet to make your development-workflow easier. If you’re using a standard Apache installation, this might go a long way in speeding things up.