Content deleted Content added
No edit summary |
m WP:FIX + general fixes, typo(s) fixed: be be → be) (AWB (12156) |
||
Line 1:
{{primary sources|date=December 2012}}
'''Responsibility-driven design''' is a design technique in [[object-oriented programming]], which improves encapsulation by using the [[client–server model]]. It focuses on the [[contract]] by considering the actions that the [[
Responsibility-driven design is in direct contrast with data-driven design, which promotes defining the behavior of a class along with the data that it holds. Data-driven design is not the same as [[data-driven programming]], which is concerned with using data to determine the [[control flow]], not class design.
Line 89:
;Advantages
* It is easy to understand.
* Though there is an external coordinator, Objects can
* Delegating coordinators tend to know about fewer objects than dominating controllers.
* Dialogs are higher-level.
|