开发者

Should my ArticleService take care of authorization?

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜