Thursday, March 6, 2008

Domain Driven Design In a Nutshell

If you know anything about domain driven design, you know that the domain is the heart of your application. It is the warm little centre that the life of your project crowds around.

Jeff Palermo is the man. Jeff eloquently explained on DotNetRocks that he has a problem with layered architectures. Each layer talks only to the layer below it and so forth. This is the traditionalist view of a system architecture. Jeff likes to think of a system's architecture like an onion. At the core of the onion is the domain model. The layers around the domain model provide more functionality. This extra functionality can include persistence, reporting, aggregating concepts into different forms and much more. The outer most layers of the onion deal with human interaction. The outer most layer of an application could be a command window, windows form, web app, the buttons on a toaster. The neat thing is that if you peel away all the layers of the onion you are left with the domain model. In my opinion the domain model is king. Whenever, I have a new story to work on I focus on the domain first, then the UI and lastly everything in between.

(It kind of looks like an onion, but it most likely is crop circle.)

Map image

3 comments:

marko said...

In the wake of seeing such landmarks as the Eiffel Tower and the Arc De Triomphe and the specialists quarter in Montmartre, they had so much cash accessible because of their secured advance that they chose to treat themselves to a no costs saved supper in one of the best eateries around the local area. check cashing corona

marko said...

While the estimation of stocks rise and fall like the mercury in a thermometer, there's one specific steady whose esteem by and large remains high: arrive. While we naturally realize that land is significant, purchasing can be something else out and out. Here are a few tips to finance a land buy. check cashing

Justin said...

Make choices with a level head and not from feelings. Obviously the blessing would be wonderful for your loved one, yet would you be able to truly bear the cost of it and spare in the meantime? Try not to become involved with the commercials or deal flyers which will make them purchase things you don't require in light of the fact that they are at a bargain. check cashing