Alex Rivera | Logout

What problems do you find with this view on domain-driven design?

Asked 2010-03-25T21:25:02.987
13

I just wrote a long (and messy) blogpost about my view on domain-driven design at present day, with frameworks like spring and hibernate massively in use.

I'd ask you to spot any problems with my views on the matter - why this won't work, why it isn't giving the benefits of DDD, why it is not a good idea in general.

The blogpost is here (I don't think I need to copy-paste it on SO - if you think I should, tell me).

I know the question is subjective, but it is aimed at gathering the most predominant opinions.

(I'm tagging Java, since the frameworks discussed are Java frameworks)

Edit
Report

1 Answer

3

We go with the "anemic model" approach so that we can reuse the same models with different business logic. However, we do include calculations and helper methods within our models if they're applicable for all cases. But we do not inject anything into our models and do not inject our models into IoC.

answered 2010-03-25T23:04:52.383

Your Answer