Skip to main content

When DCI conjunction with DDD

Difficulty:

DCI is the abbreviation of Data, Context, and Interaction. The DCI advocate James Coplien believes: "Encapsulating data and behavior in categories is a grandfather-level object-oriented design method." Although DCI's Data object does not have rich behavior during compilation, Its behavior is dynamically assigned by the Context when the use case is executed. Coplien believes that only given a Context to interpret the behavior of the object will be meaningful, and the program is easier to read. This lecture will introduce the principle of DCI architecture and show how to apply DCI to simplify the design and implementation of aggregation (Aggregate) with a practical case (ezKanban system).

Session agenda

In this talk, Teddy will introduces the DCI (Data, Context, Interaction) architecture, and uses an example (ezKanban system) to explain how to apply DCI in DDD, especially in the design and implementation of Aggregate, which can make the responsibilities of aggregation clearer.

Takeaway

Know more, for fun