220 likes | 358 Views
Design Pattern Modelling and Instantiation Using DMPL. Instructor: Ku-Yaw Chung Student: Han-Chung Lee. Pattern Oriented-Design. Author & Source. Author: David Mapelsden John Hosking John Grundy Source: ACM International Conference Proceeding Series; Vol. 21. Outline.
E N D
Design Pattern Modelling and Instantiation Using DMPL Instructor: Ku-Yaw Chung Student: Han-Chung Lee Pattern Oriented-Design
Author & Source • Author: • David Mapelsden • John Hosking • John Grundy • Source: • ACM International Conference Proceeding Series; Vol. 21
Outline • Introduction • Modelling Design Pattern Soluations • Design Pattern Instantiation and Realisation • Tool Support:DPTool • Conclusions
Introduction • A visual language for modelling design pattern soluations • Defines a metamodel and a notation • Can be used as a stand-alone modelling language or in conjunction with UML to also model solution instances within UML object models
Outline • Introduction • Modelling Design Pattern Soluations • Design Pattern Instantiation and Realisation • Tool Support:DPTool • Conclusions
Modelling Design Pattern Soluations • Models design pattern soluations as a collection of participants • A participants represents a structurally significant feature of a design pattern, that when instantiated, will be linked to objects from the object model to realise the pattern.
Outline • Introduction • Modelling Design Pattern Soluations • Design Pattern Instantiation and Realisation • Tool Support:DPTool • Conclusions
Design Pattern Instantiation and Realisation • Proxy’ elements are participants and relations inherited from the base design pattern solution and are therefore immutable in the instance • ‘Real’ elements are participants and relations added to a design pattern instance to tailor that instance.
Outline • Introduction • Modelling Design Pattern Soluations • Design Pattern Instantiation and Realisation • Tool Support: DPTool • Conclusions
Tool Support: DPTool • As mentioned earlier the DPML was designed specifically to facilitate the provision of tool support. • They have successfully implement a prototype DPML CASE tool they call DPTool.
Benefits of DPTool • Consistent, multiple views of UML and DPML. • Model management mechanisms, so user can create, save and reload UML and DPML models. • An automatic design pattern instantiation mechanism, to create pattern instances from design patterns • An automatic model verification mechanism ensures the UML object model and all design pattern instances within that object model • An automates consistency mechanism between design pattern instances and base design patterns.
Pattern and instance and validation manager examples Figure 10. Pattern and instance manager and pattern validation manager examples
Outline • Introduction • Modelling Design Pattern Soluations • Design Pattern Instantiation and Realisation • Tool Support:DPTool • Conclusions
Conclusions • Support for design pattern composition to create other patterns • Support for specification of dynamic aspects of design patterns • Extending the pattern concept • Support for classification scheme for design patterns