Thursday, May 15, 2008

DDD by Example

with JP Boodhoo

This was a very heard session, there was a lot in this that I will have to follow up on later.

Define

·SUT - System Under Test

Stories

·The who, the what, the why

·The why is very important.

·If you're not solving a problem, then you're just a programmer

Repositories

·What are they?

Aggregate roots

·Gatekeepers to sets of related items

o controls access to children

Notes

·Tests in project perhaps and use NAnt to strip them out

·Writing service layer using Specifications?

·Learn expression trees

·Leverage the extension methods

·Favor side effect free functions

·Drive from the UI down

·Inappropriate intimacy

o Let items manage their own state

o Don't expose through get/sets and let others do the work

No comments: