A Question-Based Design Pattern Advisement Approach

Luka Pavlič1, Vili Podgorelec1 and Marjan Heričko1

  1. Faculty of Electrical Engineering and Computer Science, University of Maribor
    2000 Maribor, Slovenia
    {luka.pavlic, vili.podgorelec, marjan.hericko}@uni-mb.si

Abstract

Design patterns are a proven way to build flexible software architectures. But the selection of an appropriate design pattern is a difficult task in practice, particularly for less experienced developers. In this paper, a question-based design pattern advisement approach will be proposed. This approach primarily assists developers in identifying and selecting the most suitable design pattern for a given problem. We will also propose certain extensions to the existing Object-Oriented Design Ontology (ODOL). In addition to the advisement procedure, a new design pattern advisement ontology will be defined. We have also developed a tool that supports the proposed ontology and question-based advisement (OQBA) approach. The conducted controlled experiment and two surveys have shown that the proposed approach is beneficial to all software developers, especially to those who have less experience with design patterns.

Key words

design patterns, pattern selection, ontology, semantic web, selection algorithm

Digital Object Identifier (DOI)

https://doi.org/10.2298/CSIS130824025P

Publication information

Volume 11, Issue 2 (June 2014)
Year of Publication: 2014
ISSN: 2406-1018 (Online)
Publisher: ComSIS Consortium

Full text

DownloadAvailable in PDF
Portable Document Format

How to cite

Pavlič, L., Podgorelec, V., Heričko, M.: A Question-Based Design Pattern Advisement Approach. Computer Science and Information Systems, Vol. 11, No. 2, 645–664. (2014), https://doi.org/10.2298/CSIS130824025P