I'm wondering if my service which is a layer between my ArticleRepository (Doctrine 2) and my Controller (Zend Framework) should take care of authentification/authorization or it should be part of another Service/Layer?
I w开发者_开发技巧ondering because I need to use my service to both in a Zf controller for a website and as an API for remote client.
Feedbacks?
精彩评论