How To Implement The Query Side Of CQS in DDD?

Posted by Laz on Stack Overflow See other posts from Stack Overflow or by Laz
Published on 2009-10-04T18:21:43Z Indexed on 2010/04/12 9:23 UTC
Read the original article Hit count: 353

I have implemented the command side of DDD using the domain model and repositories, but how do I implement the query side?

Do I create an entirely new domain model for the UI, and where is this kept in the project structure...in the domain layer, the UI layer, etc?

Also, what do I use as my querying mechanism, do I create new repositories specifically for the UI domain objects, something other than repositories, or something else?

© Stack Overflow or respective owner

Related posts about ddd

Related posts about domain-driven-design