Design Patterns - Case Study, Chapter 2

Case Study, Chapter 2

Chapter 2 is a step-by-step case study on "the design of a 'What-You-See-Is-What-You-Get' (or 'WYSIWYG') document editor called Lexi." (pp33)

The chapter goes through seven problems that must be addressed in order to properly design Lexi, including any constraints that must be followed. Each problem is analyzed in-depth, and solutions are proposed. Each solution is explained in full, including pseudo-code and a slightly modified version of Object Modeling Technique where appropriate.

Finally, each solution is associated directly with one or more design patterns. It is shown how the solution is a direct implementation of that design pattern.

The seven problems (including their constraints) and their solutions (including the pattern(s) referenced), are as follows:

Read more about this topic:  Design Patterns

Famous quotes containing the words case and/or chapter:

    A woman’s whole life is a history of the affections. The heart is her world: it is there her ambition strives for empire; it is there her avarice seeks for hidden treasures. She sends forth her sympathies on adventure; she embarks her whole soul on the traffic of affection; and if shipwrecked, her case is hopeless—for it is a bankruptcy of the heart.
    Washington Irving (1783–1859)

    Theory may be deliberate, as in a chapter on chemistry, or it may be second nature, as in the immemorial doctrine of ordinary enduring middle-sized physical objects.
    Willard Van Orman Quine (b. 1908)