Latest Ramblings…
-
Use Cases for The __destruct Method in Vanilla PHP
If you’ve ever done OOP in PHP you are fully aware of the __construct method and the role it plays in setting up class properties, among other tasks. But have you ever given any thought…
-
Console Output Anywhere — with Symfony
I love writing (Laravel) artisan commands, basically little scripts that perform some sort of task. But what I love even more, is having those scripts output stuff to the console, so that it can tell…
-
Bulk Inserts — Batch Size vs Speed
Less is more, really! Increasing the bulk size leads to worse results in MySQL
-
Multiple Databases + TDD on Laravel
So this is my first foray in to TDD (Test Driven Development) at work. The way I was going about it was just running the tests for the specific feature I was building, mostly because…




