A Symfony 2 tutorial from http://www.ens.ro/2012/03/21/jobeet-tutorial-with-symfony2/