Different settings for dev and live in your htaccess

10th August 2013

A couple months ago I set myself the challenge of finding a method that would allow for a solid way of checking whether or not the current server was live or production. I wanted the method to be as independent as pos…

ZF2 FlashMessenger view helper

10th February 2013

The FlashMessenger is a great controller plugin to use in your projects. First time I used it with ZF2 I was looking for a simple way of being able to access the messages from my layout and my view. After some Googlin…

Magento string manipulation

6th February 2013

It sure came as a surprise to me that Magento had these pretty handy string manipulation function hidden into a helper named core/string . Apart from having a lot of binary-safe and iconv functions that do the us…