O'Reilly logo

Pattern-Oriented Analysis and Design: Composing Patterns to Design Software Systems by Sherif M. Yacoub, Hany H. Ammar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Interfaces for Constructional Design Patterns

The POAD development process glues constructional design patterns. Interfaces qualify a constructional design pattern to be a unit for composition. In this appendix, we define interfaces for some of the patterns that we used in developing the applications in Part 4. There is no unique definition for interfaces of a specific pattern; a pattern can possess multiple interfaces.

Strategy Pattern

The Strategy pattern has the class Context as the interface to the encapsulated control strategy. One might also use the ContextInterface() operation as an interface operation for the Strategy pattern.

Observer Pattern

The Observer has two interfaces that allow coordinating the subject observed with its ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required