I’ve been playing around with Domain Driven Design (DDD) and trying to write a small web application without implementing an anemic domain model. I have found that it is more difficult than it ought to be and I want to share some of my experiences.
An anaemic domain is something that happens in an enterprise application when your domain objects don’t really contain any real logic. Instead the logic nearly all resides in a secondary “service” component. This is an example of badly encapsulated code and will lead to messy, difficult to maintain applications.