Zend Rest architecture + Doctrine ORM