Answered by:
Domain Driven Design

Question
-
User214117797 posted
Hi all,
Of late, I have been seeing a lot of code written that developers created entity classes purely as a data transfer object. The entity class is essentially a dumb class that serves as a data structure. The developer then creates a static class that manages this entity class, so all the logic and CRUD goes into this static class.
Now, I am not a fan of this as you are creating an unnecessary layer on top and it goes against the founding principles of OOP. I believe this is termed the ananemic model and by some is considered an anti pattern. Regardless, I am not here to start a thread to debate on the pros and cons, rather I am looking for recommendations on a good Domain Driven Design book that I can suggest as supplementary reading material for my developers.
Can any one point me to a good book that will on DDD?
Thanks, Jim
Friday, November 21, 2008 4:15 AM
Answers
-
User1374904634 posted
Hello,
probably the most referenced book on DDD is Domain-Driven Design: Tackling Complexity in the Heart of Software by Eric Evans.
Another really good one is Applying Domain-Driven Design and Patterns: With Examples in C# and .NET by Jimmy Nilsson.
My suggestion is to read both of them.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, November 21, 2008 4:37 AM -
User-2074625069 posted
Tim McCarthy has written a good book on building an application from start to finish using the ideas of Jimmy and Eric:
NET Domain-Driven Design with C#: Problem, Design, Solution (Programmer to Programmer) by Tim McCarthyIts a good read and the sample code is a great framework for building applications with a Domain Model. I would read the others first though. Also there is a free book on DDD that summaries Erics book that will get your guys up to speed fast http://www.infoq.com/minibooks/domain-driven-design-quickly.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, November 25, 2008 5:00 PM
All replies
-
User1374904634 posted
Hello,
probably the most referenced book on DDD is Domain-Driven Design: Tackling Complexity in the Heart of Software by Eric Evans.
Another really good one is Applying Domain-Driven Design and Patterns: With Examples in C# and .NET by Jimmy Nilsson.
My suggestion is to read both of them.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, November 21, 2008 4:37 AM -
User214117797 posted
Thanks Garbin.
I will buy those books and get my developers to have a read.
I have tried explaining to them the benefits of a rich domain model but they just cant get their heads around it. Maybe I am just awful at explaining it, so hopefully these books will contrast the stark differences and provide another perspective for them.
Friday, November 21, 2008 5:03 AM -
User-2074625069 posted
Tim McCarthy has written a good book on building an application from start to finish using the ideas of Jimmy and Eric:
NET Domain-Driven Design with C#: Problem, Design, Solution (Programmer to Programmer) by Tim McCarthyIts a good read and the sample code is a great framework for building applications with a Domain Model. I would read the others first though. Also there is a free book on DDD that summaries Erics book that will get your guys up to speed fast http://www.infoq.com/minibooks/domain-driven-design-quickly.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, November 25, 2008 5:00 PM -
User-160176648 posted
You may already know this - by far the best reading is Eric Evans' "Domain-Driven Design - Tackling Complexity in the Heart of Software"
Another very interesting resource is Rob Conery's MVC Storefront - just now being refactored for DDD.
Monday, December 8, 2008 5:13 PM