Data modeling with anemic and rich models
Data modeling is a crucial part of any development job. Some people keep it away from the code and reduced it to de database scope. But this is not the case for me.
The code is at the heart of any application, not the database. So, what means data modeling from the code perspective? Is something about Domain-Driven Design? Does it depend on the chosen architecture? Let’s see it.