Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I would prefer separating the read repository, preferably even change its name to Finder or Reader, the repository is meant for Domain usage not for querying read-only data, you can refer to <a href="https://web.archive.org/web/20160409091216/http://simon-says-architecture.com:80/2011/09/06/ddd-by-the-book/" rel="nofollow noreferrer">this article</a> and <a href="https://web.archive.org/web/20160403195814/http://simon-says-architecture.com/2011/08/23/repository/" rel="nofollow noreferrer">this</a> which explains the usage of Finder separated form repository.</p> <p>I would recommend also the separating of read model from write model architecture <a href="http://martinfowler.com/bliki/CQRS.html" rel="nofollow noreferrer">CQRS</a> and <a href="http://www.udidahan.com/2009/12/09/clarified-cqrs/" rel="nofollow noreferrer">there</a></p> <p>This architecture allows you to separate the read model from write model even in terms of data storage and the use of event sourcing.</p> <p>For a middle solution you can utilize some CQRS concepts without the complexity of separating database by just separating repository from finders, read this <a href="https://web.archive.org/web/20160402212051/http://simon-says-architecture.com/2011/01/23/compromises/" rel="nofollow noreferrer">post</a></p> <p>for a sample of this type of solution (use the same database but separating finders form repositories) check <a href="http://sellandbuy.codeplex.com/" rel="nofollow noreferrer">this sample</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload