Finding the pattern you need the design pattern intent ontology
This presentation is the property of its rightful owner.
Sponsored Links
1 / 10

Finding the Pattern You Need: The Design Pattern Intent Ontology PowerPoint PPT Presentation


  • 97 Views
  • Uploaded on
  • Presentation posted in: General

Finding the Pattern You Need: The Design Pattern Intent Ontology. Holger Kampffmeyer, Steffen Zschaler Technische Universität Dresden, Germany 04 October, 2007. Outline. Motivation Modelling Design-Pattern Intent Searching for Patterns Conclusions. Software Developer with Design Problem.

Download Presentation

Finding the Pattern You Need: The Design Pattern Intent Ontology

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Finding the pattern you need the design pattern intent ontology

Finding the Pattern You Need:The Design Pattern Intent Ontology

Holger Kampffmeyer, Steffen Zschaler

Technische Universität Dresden, Germany

04 October, 2007


Outline

Outline

  • Motivation

  • Modelling Design-Pattern Intent

  • Searching for Patterns

  • Conclusions

(c) Steffen Zschaler


Motivation

Software Developer with

Design Problem

Motivation

But:

Which Pattern

Fits?

Design

Patterns

How to solve?

(c) Steffen Zschaler


Motivation 2

Motivation (2)

  • Pattern catalogues:

  • Rough categorisation

  • No tool support

     Useful for small collections of patterns only

    2. Formal representations of patterns:

  • Good for tool-supported search

  • Focus on structure and behaviour

  • Developers need to search by problem

  • Problems solved by a pattern are described in Intent (mainly)

 Need a searchable formalisation of pattern Intent

(c) Steffen Zschaler


Modelling design pattern intent

DesignPattern

solves

*

DPProblem

decouples

AlgorithmDecoupling

Algorithm

Modelling Design-Pattern Intent

*

DPProblem

ProblemConcept

Constraint

(c) Steffen Zschaler


Modelling design pattern intent 2 problem hierarchy

Modelling Design-Pattern Intent (2)Problem Hierarchy

  • Based on Intent descriptions from GoF catalogue

(c) Steffen Zschaler


Modelling design pattern intent 3 ontologies

solves

*

*

DesignPattern

DPProblem

ProblemConcept

Constraint

Modelling Design-Pattern Intent (3)Ontologies

  • Ontologies allow easy expression of knowledge bases

  • Queries executed by Reasoning Engines

  • “Find all instances of DesignPattern that are a solution to a problem where an algorithm is varied.”

(retrieve (?x )

(and (?x |DesignPattern|)

(?x ?p |isSolutionTo|)

(?p ?a |varies|)

(?a |Algortihm|)

))

nRQL

(c) Steffen Zschaler


Searching for patterns

Searching for Patterns

(c) Steffen Zschaler


Conclusions outlook

Conclusions & Outlook

  • Presented a new approach to formalise Design Patterns

  • Based on pattern intent

  • Useful for looking up a pattern to solve a design problem

    Future work

  • Represent more design patterns

  • User study with wizard

    • Is this the right representation of design problems?

(c) Steffen Zschaler


Discussion

Discussion

  • Thank you for your attention!

  • Questions welcome!

(c) Steffen Zschaler


  • Login