domain-driven-design
Getting a country code - Service or Utility method?
Getting a country code or internal id might require accessing a database or simply loading a properties file.[详细]
2023-03-25 23:16 分类:问答examples of testing the domain using joliver commondomain/eventstore
I\'m looking for good examples of testing the domain using JOlivers CommonDomain and EventStore I have been watching greg youngs videos and he has a nice simple abstract aggregate root test fixture.[详细]
2023-03-25 19:33 分类:问答DDD/MVC: how to avoid hitting the Repository from the View?
After reading several other questions, it looks like it\'s not advisable to have an entity class use a Repository. So given these repositories:[详细]
2023-03-25 09:27 分类:问答Develop application layer which has no dependencies to Presentation Layer?
I am learning general development strategies but there are a lot question开发者_如何学Python in my mind about them. One of them is about creating application layer which shouldn\'t have dependencies P[详细]
2023-03-25 09:17 分类:问答In MVP, how is Data Model complexity dealt with and where to dynamically show/hide controls?
In most of the MVP examples I\'ve seen, the presenter calls some service, which calls some repository, which returns an entity. In most asp.net web applications that I have worked on, the logic is nev[详细]
2023-03-25 04:27 分类:问答DDD, Can aggregate handle an event from another aggregate?
Is it right to ha开发者_如何学编程ndle an event in a aggregate published from another aggregate ? Or a domain should only handle commands ?[详细]
2023-03-24 23:37 分类:问答Single or multiple repository classes?
My database is relatively small, 8 tables, each with less than 5 columns. I use EF. I created single repository class, but now that I think it might not be the right way to use it. Should I have separ[详细]
2023-03-24 16:59 分类:问答How to search sub-classes using the repository pattern?
I have several sub-classes of a payment transaction base type (credit card, check, cash, billMeLater, etc). Each sub-class has it\'s own repository since each has its own properties and way of being f[详细]
2023-03-24 14:06 分类:问答Architecture: simple CQS
I\'m thinking about applying CQS for my ASP.NET MVC web site, but in a very simple matter. I don\'t mean CQRS, because I want to use the same data source for query and command parts, and so I don\'t n[详细]
2023-03-24 12:56 分类:问答CQRS, should commands/events parameters contains everything we need?
my application uses CQRS, I have a case where I have a command \"AddApplicationToGroupCommand\" with following parameters:[详细]
2023-03-24 11:54 分类:问答