Home


Latest Pages

Working with TableGateway from Zend/Db

Integrating a peristence package for your project is probably the most common task we all need to figure out. There are a lot of different options to choose from, some light, some heavy, maybe you choose to use none at …


Migrating Slim from 2 to 3

One of the main structural differences in switching from V2 to V3 of the Slim framework is the action method signature. In slim 2 it was just simple, there was nothing except the route parameters passed into the callabl…


Slim Unit Testing

Recently I have been fielding a lot of questions about how to mock PSR-7 objects to unit test Slim. A lot of people have found it difficult because of the complexity of the constructors of the Slim HTTP classes. I can't…


Circuit Breaking in Node

I have been toying around in Node recently, and I have to say it has come a long way. I wanted to share with you guys a new package I published (my first npm package). Circuit breaking in Node is a popular concept as it…


ExpressJS and remote redis session storage

I wanted to write this article as I couldn't find any good information on connecting ExpressJS, Remote Redis and Sessions. Require'd var session = require('express-session') var uuid = require('node-uuid'); var r…


Dynamic Menu in Bolt

When I setup this site, I really wanted to try out bolt. I am really glad I chose this over Wordpress for many reasons, but one reason above all else. The community. Take today for instance, I wanted to modify my bolt i…