当前位置:网站首页>Personal digestion of DDD

Personal digestion of DDD

2022-07-07 00:10:00 stevewongbuaa

Reference resources

b standing
[ You can also watch the video of horse soldiers selling classes crazily , But there are too many courses ]

Personal understanding

A few points of superficial understanding , Enrich later

  • Entities are changed into congestion models , There are not only attributes , There are operations , Such as student Of run
  • adopt xxxService To manipulate two or more entities Such as xuanke(student, teacher)
  • Do some interface abstraction instead of direct implementation
  • So it's called 【 Business choreography 】 It will be very clear , Be clear at a glance , The specific implementation depends on the interface implement, You can also easily replace the implementation .
原网站

版权声明
本文为[stevewongbuaa]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131023223102.html