Abstract
In order to retrieve, select and apply design patterns in a tool-supported way, we suggest to construct and document a problem-context pattern that reflects the essence of the problems that the design pattern is meant to solve. In our approach, software engineers can choose examples of source code or UML models from the special domains that they are experts in. We present a method that enables software engineers to describe the transformation from a problem-bearing source model to an appropriate solution model. Afterwards, the inverse of that transformation is applied to the UML solution model of the existing design pattern, resulting in an abstract problem-context pattern. This pattern can then be stored together with the solution pattern in a pattern library. The method is illustrated by deriving a problem-context pattern for the Observer design pattern.
Chapter PDF
References
Fanjiang, Y.-Y., Kuo, J.-Y.: A pattern-based model transformation approach to enhance design quality. In: Cheng, H.D., Chen, S.D., Lin, R.Y. (eds.) JCIS 2006, Proceedings of the 2006 Joint Conference on Information Sciences. Atlantis Press (2006)
Fülleborn, A., Heisel, M.: Methods to create and use cross-domain analysis patterns. In: Zdun, U., Hvatum, L. (eds.) EuroPLoP 2006, Proceedings of the 11th European Conference on Pattern Languages of Programs, pp. 427–442. Universitätsverlag Konstanz (2007)
Gamma, E., Helm, R., Johnson, R.E., Vlissides, J.: Design patterns: Abstraction and reuse of object-oriented design. In: Nierstrasz, O. (ed.) ECOOP 1993. LNCS, vol. 707, pp. 406–431. Springer, Heidelberg (1993)
Kim, D.-K., Khawand, C.E.: An approach to precisely specifying the problem domain of design patterns. Journal of Visual Languages and Computing 18(6), 560–591 (2007)
Meffert, K., Philippow, I.: Supporting program comprehension for refactoring-operations with annotations. In: Fujita, H., Mejri, M. (eds.) Proceedings of the fifth SoMeT 2006: New Trends in Software Methodologies, Tools and Techniques, vol. 147, pp. 48–67. IOS Press, Amsterdam (2006)
Mili, H., El-Boussaidi, G.: Representing and applying design patterns: What is the problem? In: Briand, L.C., Williams, C. (eds.) MoDELS 2005. LNCS, vol. 3713, pp. 186–200. Springer, Heidelberg (2005)
O’Cinnéide, M., Nixon, P.: A methodology for the automated introduction of design patterns. In: ICSM 1999: Proceedings of the IEEE International Conference on Software Maintenance, p. 463. IEEE Computer Society Press, Washington (1999)
Willms, J., Wentzlaff, I., Specker, M.: Kreativität in der informatik: Anwendungsbeispiele der innovativen prinzipien aus triz. In: Informatik 2000, Neue Horizonte im neuen Jahrhundert, 30. Jahrestagung der Gesellschaft für Informatik. Springer, Heidelberg (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Fülleborn, A., Meffert, K., Heisel, M. (2009). Problem-Oriented Documentation of Design Patterns. In: Chechik, M., Wirsing, M. (eds) Fundamental Approaches to Software Engineering. FASE 2009. Lecture Notes in Computer Science, vol 5503. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-00593-0_20
Download citation
DOI: https://doi.org/10.1007/978-3-642-00593-0_20
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-00592-3
Online ISBN: 978-3-642-00593-0
eBook Packages: Computer ScienceComputer Science (R0)