Skip to content

Domain Driven Design

Dj edited this page Mar 16, 2015 · 2 revisions

Domain Driven Design

The best advise you can be given is to read Eric Evan's excellent "Domain Driven Design" book. However, in a nutshell there are some key points.

  1. Tests should be written using a "Ubiquitous Language"
  2. Make use of the "Repository" pattern to make it easier to create objects

Ubiquitous Language

This refers to the idea that everyone on a project should attempt to speak the same language. That is, rather than referring to "load data into this table" or "click on the third column" it should be possible to use language such as "create a new account" or "order displayed results by name"

Resources

There is a good book on Domain Driven Design by Eric Evans http://www.amazon.com/exec/obidos/ASIN/0321125215/domainlanguag-20

And to whet your appetite there's a useful smaller book available online for download at http://www.infoq.com/minibooks/domain-driven-design-quickly

Clone this wiki locally