4.4. Hooks as name designators of pattern catalog entries
Hook methods form the points of predefined refinement that we call variation points or hot spots (Pree, 1995). Framework adaptation takes place at these variation points. Depending on hook placement and template–hook method combination more or less flexibility can be achieved.
Every framework incorporates the two essential construction principles, Unification and Separation, no matter how simple or how complex the particular template and hook methods are. Fine-grained classes apply the same construction principles as complex classes in order to introduce flexibility. They differ only in the granularity, the semantics of the hooks (often expressed in a hook's name), the number of provided ...
Get UML Profile for Framework Architectures, The 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.