Re: Re: Created DDD Exampe - Feedback?
Mirko Sertic <[email protected]>
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <[email protected]> |
Hi there No problem at all. I am glad to share my thoughts with the community. This is an interesting point, and yes, it is a business rule. The idea behing this example is there there are independent applications for each bounded context, because every bounded context serves a different user group. And the Customer Management users do not think in terms of Projects, they think about Customers. And if we want to apply a business rule check across multiple bounded contexts/applications, we need some kind of sync/async context integration. In this case, we cannot move the Project to the Customer Management BC. If there would only be one big application with multiple modules(one per BC), the business rule enforcement could also easily be coordinated by an Application Service(which is also the case in my example). Regards Mirko Am 26.05.2013 13:01, schrieb wonderfulworldofpingpong: > > Thanks for writing such a good example. > > My concern is about the Context Integration. I don't think there is > any integration point exists between Bounded Contexts in the example. > What you are doing is a business rule evaluation. You are checking > whether all the projects are deleted. That is a business rule. In that > case, the Projects also should reside in the 'Customer Management > Bounded Context'. > > What do you think? > > --- In [email protected] > <mailto:domaindrivendesign%40yahoogroups.com>, "mirko.sertic" > <mirko.sertic@...> wrote: > > > > Hi@all > > > > I really like the idea of domain-driven design. Based on a project I > am working on at the moment I created a small example about what can > happen to application architecture if strategical and tactical > patterns are applied to the problem space. > > > > This example can be seen here: > > > > http://www.mirkosertic.de/doku.php/architecturedesign/dddexample > > > > It is far from being perfect, but it should show up a direction > about how to find subdomains, bounded contexts, aggregates, context > integration and application architecture. > > > > Any feedback is very welcome, so stay tuned and happy DDDing:-) > > > > Regards > > Mirko > > > >