MENU

Fun & Interesting

How To Start Using Domain-Driven Design: Pushing Logic Down

Milan Jovanović 18,301 lượt xem 1 year ago
Video Not Working? Fix It Now

☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code: https://www.patreon.com/milanjovanovic

Clean architecture is a good choice when you want to design a robust and flexible application. The core of the Clean Architecture is the Domain layer. This is where you should define your important domain (or business) rules. In this video, I will show you how to go from an Anemic Domain model to a Rich Domain model by moving the application logic into the Domain layer. Domain-Driven Design is a set of principles for how you can design and model a rich domain in your application. In this video, I'll show you how to push logic down into the domain layer.

Join my weekly .NET newsletter:
- https://www.milanjovanovic.tech

Read my Blog here:
- https://www.milanjovanovic.tech/blog

Chapters
0:00 Explaining the use case implementation
2:09 Pushing logic down to the Entity
7:09 Moving side-effects using functions
9:38 Expressing side-effects using Domain events

Comment