Data, context and interaction: Difference between revisions

Content deleted Content added
Jcoplien (talk | contribs)
Description: Major fleshing out of description.
Jcoplien (talk | contribs)
Line 4:
'''Data, Context and Interaction''' (DCI) is a paradigm used in computer programming. Its goals are:
* To improve the readability of object-oriented code by giving system behavior first-class status;
* To cleanly separate code for rapidly changing system behavior (what the system ''does'') from that for slowly changing ___domain knowledge (what the system ''is''), instead of combining both in one class interface;
* To support an object style of thinking that is close to peoples' mental models, rather than the class style of thinking that overshadowed object thinking early in the history of object-oriented programming languages.
The pattern separates the [[___domain model]] (Data) from [[Use case]]s (Context) and Roles that [[Object (computer science)|objects]] play (Interaction). DCI is complementary to [[Model–view–controller]] (MVC). MVC as a [[pattern language]] is still used to separate the data and its processing from presentation.