3 Motivation But: Which Pattern Fits? Design Patterns Software Developer withDesign ProblemBut:Which PatternFits?DesignPatternsHow to solve?TU Dresden,(c) Steffen Zschaler
4 Need a searchable formalisation of pattern Intent Motivation (2)Pattern catalogues:Rough categorisationNo tool support Useful for small collections of patterns only2. Formal representations of patterns:Good for tool-supported searchFocus on structure and behaviourDevelopers need to search by problemProblems solved by a pattern are described in Intent (mainly) Need a searchable formalisation of pattern IntentTU Dresden,(c) Steffen Zschaler
6 Modelling Design-Pattern Intent (2) Problem Hierarchy Based on Intent descriptions from GoF catalogueTU Dresden,(c) Steffen Zschaler
7 Modelling Design-Pattern Intent (3) Ontologies Ontologies allow easy expression of knowledge basesQueries executed by Reasoning Engines“Find all instances of DesignPattern that are a solution to a problem where an algorithm is varied.”DPProblemConstraintProblemConcept*DesignPatternsolves(retrieve (?x )(and (?x |DesignPattern|)(?x ?p |isSolutionTo|)(?p ?a |varies|)(?a |Algortihm|)))nRQLTU Dresden,(c) Steffen Zschaler
8 Searching for Patterns TU Dresden,(c) Steffen Zschaler
9 Conclusions & OutlookPresented a new approach to formalise Design PatternsBased on pattern intentUseful for looking up a pattern to solve a design problemFuture workRepresent more design patternsUser study with wizardIs this the right representation of design problems?TU Dresden,(c) Steffen Zschaler
10 Thank you for your attention! DiscussionThank you for your attention!Questions welcome!TU Dresden,(c) Steffen Zschaler
Your consent to our cookies if you continue to use this website.