Domain-Driven Design, part 8 — Services and Factories

Domain Service

Cart and Order Example

Don’t use Domain Services

Application Service

Domain Factory

Don’t use Domain Factories

Factory Pattern

TL;DR

References

Contact

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store