You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by David Tildesley <da...@yahoo.co.nz> on 2013/11/18 05:09:35 UTC

Anemic Domain Model anti-pattern

With all that talk of View Objects and Services, I  thought it would timely to remind folk of a well known quote:

“In
general, the more behavior you find in the services, the more likely you are to
be robbing yourself of the benefits of a domain model. If all your logic is in
services, you've robbed yourself blind”. – Michael Fowler,
2003 (Anemic Domain Model anti-pattern)

Re: Anemic Domain Model anti-pattern

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Thanks, David, very timely.

The RRRADDD! slide deck accompanying the tutoraial attempts to summarise
this same point [1]

Cheers
Dan

PS: you'd've thought that Fowler by now would have discovered the naked
objects pattern and had something useful to say about it.  I remember being
at a conference many years ago when he did the keynote, and he chose UI
patterns as his topic.  I thought: great, we'll get a bit of coverage here.
 Instead all he talked about on about subtleties of the MVC and MVP
patterns.  Very disappointing.

[1]
https://github.com/danhaywood/rrraddd-isis-131/raw/master/pptx/RRRADDD.pptx



On 18 November 2013 04:09, David Tildesley <da...@yahoo.co.nz> wrote:

> With all that talk of View Objects and Services, I  thought it would
> timely to remind folk of a well known quote:
>
> “In
> general, the more behavior you find in the services, the more likely you
> are to
> be robbing yourself of the benefits of a domain model. If all your logic
> is in
> services, you've robbed yourself blind”. – Michael Fowler,
> 2003 (Anemic Domain Model anti-pattern)