Model Transformations @ Google
Model Transformations
An overview
Pierre-Alain Muller INRIA [email protected] Artist2 Summer School 05 Pierre-Alain Muller 2
Outline Principles of Model-Driven Engineering
►MDE basic principles ►A kind of (software) development approach ►What is a model-transformation? ►Models as first class entities ►Typology of model-transformations ►Everything is a model ►Examples of transformations ►A model conforms to an other model (meta- model) ►A model transformation takes models and produces models ►A model-transformation is a model
Artist2 Summer School 05 Pierre-Alain Muller 3 Artist2 Summer School 05 Pierre-Alain Muller 4
MDA = MDE à la OMG Meta-modeling architecture
Computer ►OMG, Object Management Group M3 Meta-Metamodel ►MDA, Model-Driven Architecture ►PIM, Platform Independent Model M2 Metamodel ►PSM, Platform Specific Model M3 M2 M1 M0 M1 Model ►(PDM, Platform Description Model)
►Transformation (PIM, PDM) -> PSM M0 Computer Manifestation RFP MOF Q/V/T Query, Views, Transformations RFP MOF to Text Real World Often misleading
Artist2 Summer School 05 Pierre-Alain Muller 5 Artist2 Summer School 05 Pierre-Alain Muller 6
1 Motivation But also
►Model transformation is key to Model-Driven ►Refining models Engineering ►Reverse engineering (code to models) Automation of the transition from Business Automation of the transition from Business ►Generating new views models to Implementation models ►Applying design patterns
Business ►Refactoring models Transformation Implementation Description
Platform
Artist2 Summer School 05 Pierre-Alain Muller 7 Artist2 Summer School 05 Pierre-Alain Muller 8
Typical scope for transformations Related fields