Ziggy URL generator and Webpack

I've been wanting to get ziggy in use at $job for a while now because of its developer quality of life improvements around url generation. I don't want our devs to have to remember to update the ziggy generated routes whenever they update a routes file, so I need something automated in our webpack install.

Sites loading with curl and debugging

This one is a full on face-palm of fun: A client recently redirected one site that we didn't host to one that we do. At some point, Googlebot had indexed their old site and had URLs to files on the site, and fetching those URLs took down our site.

Date logic is hard, and how you can make it easier

There are excellent tools available for essentially every programming language allowing you to work with dates as objects, because date logic is hard. But it doesn't have to be, and you can make it easier.

Slim Framework, Route Groups, and Parameters

Yesterday, I was writing a new sub-endpoint for an API based in Slim Framework. For this API, the routes are kept in separate files for organizational purposes, but also because route groups didn't exist at the time; so I thought I'd give them a shot.

Zend Db and non-escaped strings

This is for my own edification in the future, but if you're looking for a non-escaped string as a parameter to a query, it's not Zend\DB\Raw that you're looking for, as that doesn't exist. What you're looking for is new \Zend\Db\Sql\Expression() to handle those raw strings.

Restoring a lost file from your cache in Chrome

Recently, I switched the software that generates this blog from a custom Perl script that I built to a Jekyll based system. The migration itself went fairly well.