Home


Latest Pages

Use Autowiring with Slim and be productive!

In this post; I will show you how to use a middleware to create an object inside of PHP-DI for your Action classes to use. One of the most annoying things I have ever found is that Security Code pops-up everywhere. Addi…


Integrating Doctrine into your project

In this post we will explain how to setup Doctrine 2 in your Slim 3 project. Integrating Doctrine can be a bit of a pain but reading this article should get you around the major hurdles Firstly you will need the all-mig…


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…