Blog

Blogging is something that is new to me. To help me get into it, I am writing about problems or interesting situations I have faced as a developer where there wasn't always a good or complete solution readily available.


Rollback Database Changes When Exceptions Occur

Have you ever run into scenarios where you write some code in your controller that writes a bunch of data to your database? I've often built out API endpoints that accept a big payload of data and...

October 21, 2020 | 3 minute read

Read

A Beginners Guide to Basic Indexing

I want to preface this post with a disclaimer; this literally is a 'beginners guide'. A while back, I was facing some performance issues with an application in production and this post is a...

March 21, 2020 | 11 minute read

Read

Custom Throttle Middleware

I've said it before, and I'll say it again, one of the biggest benefits of using a framework is that so many common use-cases or problems have already been solved - and throttling requests is no...

July 24, 2019 | 4 minute read

Read

Customising the Email Verification Expiration Time

One of the biggest benefits of using a framework like Laravel is that so many of the common use-cases or problems have already been solved; email verification is no exception. Since Laravel 5.7, it...

July 8, 2019 | 3 minute read

Read