Primarily technical blog on Lisp, .NET, C# development.

Tuesday, December 11, 2007

Studying Domain-Driven Design

I started reading the Domain-Driven Design book, by Eric Evans some weeks ago and today I restarted reading the chapter on Entities, Value Objects and Services.

From the first chapter of the book I had the feeling the author really knows what he is talking about. I always had the feeling that Object Oriented design was a problem when applied to a real world application, especially when we ended up having to decide for more then 30 minutes where a method should be implemented from the actual domain model entities. The service concept is perfect to solve this type of problem nicely by the use of those stateless process coordinators. They have the sole purpose of coordinating the execution of an activity that deals with a group of entities.

I used to simplify my projects by avoiding the implementation of almost any behavior on an entity, but I am reconsidering my position after reading this excellent book. I didn't finish yet.

I hope it will give me some light onto this holy grail of software engineering which is to build great software.

By the way, great software for me is a software that does what it is supposed to do, that is easy to maintain and easy to extend.

No comments: