Using Doctrine 2 and Repositories, what would be the purpose of a Service Layer?

前端 未结 2 1290
渐次进展
渐次进展 2021-02-02 03:13

I\'m designing my application, and I\'m using Doctrine 2 and Zend Framework.

Currently, I\'ve wrote all my entities, I was going to start to write Repositories, and I t

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-02 04:15

    I’ve been looking for proper (service layer, repository with doctrine 2 and ZF) implementation example long time.
    This example best which i found, should help you in your work
    https://github.com/epixa/Forum/tree/master/application/user/src

    One more thing, http://martinfowler.com/eaaCatalog/serviceLayer.html this will help to understand theory part of service layer

提交回复
热议问题