Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.

Sponsors

News

 
 
 
 
 
Programming Blogs - Blog Catalog Blog Directory
 
 
 

Links

Social

Domain Driven Design

domain-driven-design
Domain-Driven Design: Tackling Complexity in the Heart of Software
I am sure you have all read this book and this book needs no further introduction - Domain Driven Design by Eric Evans! I readed this book couple of months ago and now I am trying to apply good ideas I got from this book. Instead of writing usual introduction I tell you a little bit about my experiences when applying ideas represented in this book.

Before I start I mention quickly that Domain Driven Design has only few code examples. To be honest I expected more but this is not a problem - there are many other books that cover design practices on more technical level. Most of this book describes ideas about systems architecture and design. It covers smaller systems and also larger systems that are built by separate teams maybe even in separate geographic locations. The mind framework this book gives is mighty. At least for me. Although first chapters of this book are a little bit dry and boring the further is very interesting. So, survive the first chapters and read this book to the last page.

After reading Domain Driven Design we tried to apply new knowledge in one of our systems we are building currently. There are some points that work very well (don't repeat me if you haven't read this book):

  1. Using services layer is very good approach because it keeps repositories clean of complex logic behind services. If services layer is not small then it is good idea to separate services and repositories.
  2. Using infrastructure layer is also good approach because this is the way how to keep different base services in separate library that is easy to switch to other if there is a need for it.
  3. Driving communication between subdomains only through subdomain's main objects gives another advantage: it makes communication flow between objects very clear. There are less grey spots of responsibility and therefore less ways how to break things.

Of course, there are many other good points you can find from this book when you read it. Three points above gave just an example about how to apply Eric's ideas.

Comments

pritoapots said:

Of two evils, choose neither.--Charles H. Spurgeon (1834--1892), English Baptist preacher/writer

# July 16, 2008 4:02 AM

DigiMortal said:

Huh, it was too deep for me in given context. Can you be more specific with your point? :)

# July 16, 2008 4:25 AM

Dew Drop - July 17, 2008 | Alvin Ashcraft's Morning Dew said:

Pingback from  Dew Drop - July 17, 2008 | Alvin Ashcraft's Morning Dew

# July 17, 2008 12:28 PM

Gunnar Peipman's ASP.NET blog said:

Some time ago I introduced here book titled as " Domain Driven Design ". One concept this book

# July 23, 2008 12:45 PM

Gunnar Peipman's ASP.NET blog said:

Here you can find the list of books I have read. All these books are recommended ones, here are no titles

# November 10, 2008 4:51 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)