Domain-driven design with Zend

前端 未结 2 1699
醉梦人生
醉梦人生 2021-01-31 21:53

This question is a continuation of my previous question here zend models architecture (big thanks to Bill Karwin). I\'ve made some reading including this article

2条回答
  •  孤城傲影
    2021-01-31 22:20

    Have a look at my project at GitHub. It tried to follow the principles of DDD, SOLID and OOP. PHP and DDD. There is no ORM inside but a hand-made Data Access Layer. Domain entities exchange messages. Presentation Layer gets a special kind of objects. You will find a lot of factories. They are intended to simplify unit testing and maintenace. I hope some techniques can be of interest for you.

提交回复
热议问题