MVC + DDD Template

In an MVC application, how is DDD implemented. What are domain objects? Should I bind objects to user objects that use this display logic in repository methods or in the service level?

+6
model-view-controller asp.net-mvc domain-driven-design
source share
4 answers

There appeared a wonderful new series of publications dedicated to http://nathan.whiteboard-it.com/archive/2009/03/01/asp.net-mvc-domain-driven-design.aspx , which actually describes from the very beginning how to start designing an application with DDD in mind.

+2
source share

Take a look at S # arpArchitecture . This is a really great way to get started with MVC and DDD at the same time. Domain objects (models) are stored in different projects from controllers and presentations. It has a pretty nice installation and solution template and excellent documentation.

It makes good use of the repository template, which is part of the DDD kernel. He also uses several modern "best practices."

+2
source share

A bunch of training will be created to answer all these questions.

I would start with the ASP.NET MVC Storefront Starter Kit, it uses TDD, not DDD , but it's a good place to start. If you are really interested in DDD, I would suggest reading Eric Evans' book , which is a big part of the DDD Bible. Ayende Rahien also wrote a book called Creating Domain Languages with BOO , which may also provide some insight into DDD.

0
source share

In an MVC application, all your domain-specific logic should go to M MVC, your model.

0
source share

All Articles