Some code sample I gave during an internal training at SensioLabs