Title :
A model-driven framework for representing and applying design patterns
Author :
El Boussaidi, Ghizlane ; Mili, Hafedh
Author_Institution :
Univ. du Quebec a Montreal, Montreal
Abstract :
Design patterns encode proven solutions to recurring design problems. To use a design pattern properly, we need to 1) understand the design problem the pattern resolves, 2) recognize an instance of this problem in the model at hand, and 3) to transform the model to produce the proposed solution. We argue that an explicit representation of the design problem solved by a pattern is key to supporting each one of these tasks. We propose to represent a design pattern using a triple (MP, MS, T) where MP is a model of the design problem solved by the pattern, MS is a model of the solution proposed by it, and T is a rule-based representation of the transformations embodied in the application of the pattern. In this paper, we describe the principles underlying our approach and the current implementation using the Eclipse Modeling FrameworkTM and JRulesTM.
Keywords :
formal specification; knowledge based systems; knowledge representation; object-oriented methods; object-oriented programming; software reusability; Eclipse Modeling Framework; JRules; MS model; design pattern representation; design pattern specification; model-driven framework; reusable models; rule-based representation; Application software; Computer applications; Context modeling; Pattern matching; Pattern recognition;
Conference_Titel :
Computer Software and Applications Conference, 2007. COMPSAC 2007. 31st Annual International
Conference_Location :
Beijing
Print_ISBN :
0-7695-2870-8
DOI :
10.1109/COMPSAC.2007.31