Apologies in advance if this question has already been answered, but I haven't been able to find a definition for what model actually means in this context that I actually grok.
I've heard the term model be used to describe just the persistence layer, all domain specific code, or just domain entities. From what I've read, anemic domain models seem to be regarded as a bad thing, but the specific reasons as to why don't quite seem to click with me and I think it's because I don't know what model is referring to in this context. US this specific to MVC?
If it's just referring to entities, what is the issue with only putting the logic to keep data integrity in the entities and the putting the logic for actually utilizing those entities into service classes? Is that still considered anemic? If that is the case how can you actually implement rich domain models without breaking single responsibility principle.
The answer doesn't need to be framework or language specific, but if it matters I'm working with php and Symfony2.
Thanks in advance anybody who takes the time to provide me some clarity!