Mise en oeuvre des patrons de conception par représentation explicite du problème
Les patrons de conception constituent une codification intuitive de solutions éprouvées à des problèmes de conception récurrents. Plusieurs ont cherché à développer des méthodes pour la représentation et la mise en oeuvre des patrons. Or, aucune des approches que nous avons étudiées ne représente explicitement le problème de conception que le patron cherche à résoudre. La représentation du problème a plusieurs avantages, dont : 1) une meilleure caractérisation de l'applicabilité des patrons plus précise que la description textuelle préconisée par (Gamma et al., 1995), 2) une représentation plus naturelle des transformations inhérentes aux patrons, et 3) la possibilité d'identifier automatiquement les opportunités d'application de patrons dans un modèle d'analyse. Dans cet article, nous décrivons les principes de notre représentation, et son implantation dans le cadre EMF d'ÉclipseTM.
Design patterns embody proven solutions to recurring design problems. Ever since the gang of four popularized the concept, researchers have been trying to develop methods for representing design patterns, and applying them to modeling problems. To the best of our knowledge, none of the approaches proposed so far represents the design problem that the pattern is meant to solve, explicitly. An explicit representation of the problem has several advantages, 1) a better characterization of the problem space addressed by the pattern better than the textual description embodied in pattern templates, 2) a more natural representation of the transformations embodied in the application of the pattern, and 3) it is one step towards the automatic detection and application of patterns. In this paper, we describe the principles underlying our approach, and the current implementation in the Eclipse Modeling FrameworkTM.
H.MILI, G.EL BOUSSAIDI, A.SALAH
patrons de conception, métamodèle, développement par transformation.
design patterns, metamodels, transformational development.
Français
|