Chapter 15. Commonality and Variability Analysis


This chapter shows how to use commonality and variability analysis (CVA) to develop a high-level application design. Although design patterns can’t be used in all designs, the lessons learned from them can. One of the most important of these lessons is that you can identify variation in your system using CVA. You can then follow the lessons of design patterns (program to interfaces, encapsulate variation using aggregation) to create designs that are flexible and easily testable.

Commonality and Variability Analysis and Application Design

Experienced developers know that when adding new function to an existing ...

Get Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.