Model Driven Engineering (MDE) : ITC-708 by Dr. Mir Sajjad Hussain Talpur Dated: 08-2-2021
Model Driven Engineering (MDE) : ITC-708 by Dr. Mir Sajjad Hussain Talpur Dated: 08-2-2021
Model Driven Engineering (MDE) : ITC-708 by Dr. Mir Sajjad Hussain Talpur Dated: 08-2-2021
(MDE)
ITC-708
By
Dr. Mir Sajjad Hussain Talpur
Dated: 08-2-2021
Model Driven Engineering
Model-Driven Engineering (MDE) is an engineering
model.
Model-driven engineering (MDE) is an approach to
software development where models rather than
programs are the principal outputs of the
development process.
3
History of Model Driven Engineering
4
What is Metamodel?
A metamodel is a
simplified ontology, i.e. a
set of concepts and
relations between these
concepts.
What is Model?
A model is a graph
composed of elements
(nodes and edges). Each
such element corresponds
to a concept in the
metamodel.
A model is the simplified
image of a system
5
Usage of model-driven engineering
Model-driven engineering is still at an early stage of
development, and it is unclear whether or not it will
have a significant effect on software engineering
practice.
Pros
Allows systems to be considered at higher levels of
abstraction
Generating code automatically means that it is
cheaper to adapt systems to new platforms.
Cons
Models for abstraction and not necessarily right for
implementation.
Savings from generating code may be outweighed by
the costs of developing translators for new platforms.
6
Model driven architecture
7
Important Properties of Models
Abstraction from certain aspects of the real
world
Ability to analyze properties of the system using
the model
Models are usually expressed in a modeling
language with a well-defined syntax and
semantics
Many different forms of analysis, depending on
8
the model and the application of modeling
Types of model
A computation independent model (CIM)
These model the important domain abstractions used in a
system. CIMs are sometimes called domain models.
A platform independent model (PIM)
These model the operation of the system without
reference to its implementation. The PIM is usually
described using UML models that show the static system
structure and how it responds to external and internal
events.
Platform specific models (PSM)
These are transformations of the platform-independent
model with a separate PSM for each application platform.
In principle, there may be layers of PSM, with each layer
adding some platform-specific detail.
Chapter 5 System modeling 9
Usage of Models in Software Engineering
Models as description of the domain of the system to be built
Model focuses on relevant aspects of the domain
Example: Class diagram of the domain
Models as abstract representation of the system to be built
Model focuses on aspects that are relevant, leaves other aspects open
Example: Component diagram specifies components of a system to be
built
Models for documentation
Abstraction of models helps to understand the system faster
Example: Class diagram of the key entities in a system are
explained in a document
10
11
12
What is System?
15
16
17