Ontology driven creational design patterns as parameterized and reusable components

  • Authors:
  • Amrita Chaturvedi;T. V. Prabhakar

  • Affiliations:
  • Indian Institute of Technology, Kanpur, Uttar Pradesh, India;Indian Institute of Technology, Kanpur, Uttar Pradesh, India

  • Venue:
  • ACM SIGAPP Applied Computing Review
  • Year:
  • 2014

Quantified Score

Hi-index 0.00

Visualization

Abstract

We have explored the use of a generic ontology component to separate and encapsulate the design pattern logic of the GoF creational design patterns. We used a unique generic ontology as a runtime component in the creational patterns and then analyzed and compared the implementations with those of traditional GoF creational patterns. We concluded after experimental analysis that ontology driven solutions to creational design patterns not only mitigate the drawbacks identified in the creational patterns but also make the patterns a plug and play parameterized and reusable component whereby the desired objects can be created on the fly. Once the pattern parameters i.e. the participant classes are fed into the pattern ontology, the pattern functionality embedded within the ontological component becomes ready to use. This not only decouples the pattern logic from application logic but also decouples the pattern participant classes from each other. Thus the patterns become reusable even at the implementation level.