Trying to understand DTO justification
First off, awesome book. I've been waiting for a book like this to come along for a very long time.
While I was showing the "Millett Stack" to a coworker the other day I was asked about the justification for the DTOs and not letting the model bleed up to the UI. I couldn't remember why you did this so I went back to your book to look it up and couldn't find the justification. I think perhaps it's just so the UI layer is only dependent on the Service layer? Just kind of want to hear the formal explanation from the man himself. If you'd prefer to reference the book I'm fine with that as well. BTW, We're actually using EF code first (clean POCO) with EF layer separated in the repository layer within the stack.
Thanks for again for a great book!
Last edited by ludwigs3rd; February 22nd, 2012 at 04:34 PM..
|