Nesting try-catch Blocks in PHP

I was recently presented with an interesting problem on a client's project. We have a Web application which, via an API endpoint, triggers work for a background process, and the background worker then updates the status record when the work is complete with the final URL where the Web application can retrieve the result (in this case, a dynamically generated PDF form). I've had a few cases where the worker process struck an error, but caused a conditon that was hard to diagnose.

Read more

Continuous Deployment with Ansible & Codeship

If you are a developer and you like to automate the boring stuff as much as possible, these are two tools I highly recommend. I recently stumbled across a very strange problem that took some creative Googling to resolve. The problem occurs when I tried running my Ansible playbook (using Ansible 1.7.1) from the Codeship custom script to deploy my application.

Read more

Find Stuff