This is a proof of concept with Symfony2 and PHP design patterns