Entity Services are services that are centered around an Entity. For example, a CustomerService or a ProductService. Most times these services focus on data and CRUD operations. These services can cause low cohesion and in turn high coupling. Instead, focus on Capabilities of services and the data encapsulated and owned by the service. Focusing on capabilities will increase cohesion and lower coupling.
🔔 Subscribe: / @codeopinion
💥 Join this channel to get access to source code & demos!
/ @codeopinion
🔥 Don't have the JOIN button? Support me on Patreon!
/ codeopinion
📝 Blog: codeopinion.com
👋 Twitter: / codeopinion
✨ LinkedIn: / dcomartin
0:00 Intro
1:28 Problems with Entity Services
2:17 Capabilities
3:49 Example
6:23 Coupling and Cohesion
#softwaredesign #domaindrivendesign #entityservices
1 авг 2024