Just sharing some of my inconsequential lunch conversations with you... RSS  

Thursday, May 03, 2007

Designing a Domain-Driven Data Access Layer

A friend of mine has just send me this great post about designing Domain-Driven Data Access Layer.

Other then the goals themself:

  • The DAL should completely hide the underlying data access technology, whether it be an ORM tool like NHibernate, hand-generated inline SQL, calls to stored procedures, or anything else.
  • The DAL should not place any significant constraints on the design of the domain model.
  • The entire layer should be replaceable with minimal impact (or minimal risk for you PM folks).

this post presents us with this great TDD experience. Please don't miss these.

No comments:

Development Catharsis :: Copyright 2006 Mário Romano