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:

    “In my youth,” said his father, “I took to the law,
    And argued each case with my wife;
    And the muscular strength, which it gave to my jaw,
    Has lasted the rest of my life.”
    Lewis Carroll [Charles Lutwidge Dodgson] (1832–1898)

    When one man dies, one chapter is not torn out of the book, but translated into a better language.
    John Donne (c. 1572–1631)