|
|
|
|
|
by Spearchucker
2493 days ago
|
|
First, anemic models work well in service contexts. You can't send a business rule from a web page to a web service as part of a data entity. And so such models have a valid place in the world. Micro services are still services. As such we always validate data crossing a trust boundary - whether monolith or micro service. The rules to do that validation cannot travel with the data. So guilt because anemic strikes me as... odd. Modern connected apps aren't written as single-tier Smalltalk apps. |
|
The web page has a UI model, not a domain model.