How to combine DDI (Domain-driven design) DCI for application development

DDD is a domain-driven process, it is a methodology that includes the ubiquitous language, root object, value and aggregation object.

DCI: data, context, interaction is the programming paradigm invented by Trygve Reenskaug.

How can I integrate with them in the new system?

+6
source share
2 answers

This is the subject of discussion, and something that you are likely to find the best answers in the Google Composition Objects group, where it was discussed earlier. An attempt is also made to port the canonical DDD sample to DCI on the DCI github page.

The long story is too short: DCI is placed in a limited context, where you then have a DCI context for one use case.

+5
source

If you read this https://msdn.microsoft.com/en-us/library/jj554200.aspx , I think that DCI's view of “context” will be synonymous with “process manager”. Instead of calling methods to the process manager in aggregates, it will apply roles to the aggregates and coordinate their use. A "limited context" may have several "process managers", also called "contexts." What do you think?

0
source

Source: https://habr.com/ru/post/899840/


All Articles