3 ms·
ORMs have nothing to do with DDD, they merely provide objects which map to your database tables. The crux of DDD is to model your application in a domain centr
by aszen 5y ago
ORMs have nothing to do with DDD, they merely provide objects which map to your database tables.
The crux of DDD is to model your application in a domain centric way, what that means is using domain concepts in your business objects instead of just getters and setters.
One of the most important things is separating your domain from infrastructure and the ui around it.
This can be achieved in a variety of ways, with and without an orm.
DDD encourages application designers to start with the domain first, and build the infrastructure and ui around it later on. It changes the language we speak of during designing application, instead of asking whether to use SQL or NoSQL say, you design your domain first + the operations around it and afterwards think about what's the ideal infrastructure to use.
- hardwaresofton 5y agohttps://en.wikipedia.org/wiki/Domain-driven_design#Building_blocks https://en.wikipedia.org/wiki/Domain-driven_design#Building_...