Category Archives: Coding

Laravel Envoy and Dynamic Resolution of AWS Server IPs

The issue is I have two main clients with two different AWS accounts, and they run the same web app, with slight variations, as well as a number of unique web apps. We also run lots of workers which may …

Read more »

Deploying crontab/cronjobs with PHP projects

I know there are a load of solutions out there already, but nothing that I could see that were as simple as I needed, or as flexible. In particularly I have one project which uses the core code across three …

Read more »

Git with Selenium UI Testing – Unpredictable results

A quick, and rather silly one, that has just caught me out a couple of times: Take a situation where you’re working on a site, and want to run some Selenium tests in the background, possibly with a CI server …

Read more »

Handling config files for local development, staging and production in PHP

I’ve had a few stabs at this and never been particularly happy with how it works. My last move was to only provide a skeleton config file under versioning, then complete variables like DB user and pass on individual servers. …

Read more »

Static variables in PHP functions

Today I had to pull an identifying array from a DB to be used by an inner loop to apply categories to some book details I was parsing. Clearly I wanted to build this array once so it had to …

Read more »