DocumentCode
2608799
Title
On the Composition of Design Patterns
Author
Bayley, Ian ; Zhu, Hong
Author_Institution
Sch. of Technol., Oxford Brookes Univ., Oxford
fYear
2008
fDate
12-13 Aug. 2008
Firstpage
27
Lastpage
36
Abstract
Design patterns are usually applied in a composed form with each other. It is crucial to be able to formally reason about how patterns can be composed and to prove the properties of composed patterns. Based on our previous work on formal specification of design patterns and formal reasoning about their properties, this paper focuses on the composition of design patterns. A notion of composition of patterns with respect to overlaps is formally defined based on two operations on design patterns, which are the specialisation of a pattern with constraints and the lifting of a pattern with a subset of components as the key. The composition of design patterns is illustrated by the composition of composite, strategy and observer patterns. A case study of the formalisation of the relationship between patterns as suggested by GoF is also reported.
Keywords
object-oriented programming; composed pattern; design pattern; observer pattern; strategy pattern; Books; Concrete; Formal specifications; Graphics; Logic design; Metamodeling; Software design; Software quality; Software tools; Unified modeling language; Design patterns; composition of design patterns; formal specification;
fLanguage
English
Publisher
ieee
Conference_Titel
Quality Software, 2008. QSIC '08. The Eighth International Conference on
Conference_Location
Oxford
ISSN
1550-6002
Print_ISBN
978-0-7695-3312-4
Type
conf
DOI
10.1109/QSIC.2008.32
Filename
4601525
Link To Document