reflections on model driven development...mde/mdd considers models as first class citizen artefacts...

19
Reflections on Model Driven Development Lisboa, 5/3/2013 Alberto Rodrigues da Silva

Upload: others

Post on 31-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

Reflections on Model Driven Development

Lisboa, 5/3/2013

Alberto Rodrigues da Silva

Page 2: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

Agenda

�Background

�Core Concepts

-Models and Metamodels

-Anatomy of Modeling Languages

2

-Anatomy of Modeling Languages

�MDD/MDE

-Models, Transformations, Platforms

- Initiatives and Tools

�Our Research – some Thesis

�Discussion

Page 3: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

Background – ProjectIT Initiative

� It is a research program from the Information

Systems Group (GSI) of INESC-ID

�Objectives:

- analysis, integration and support the best practices in

3

the management and implementation of IT projects

�Motivation:

- “How to improve the quality and productivity of IT

projects?”

Page 4: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

ProjectIT Initiative

�System Engineering

�MDE, Model-Driven Engineering

�RE, Requirements Engineering

�Project Management

Key research topics

4

Page 5: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

Core Concepts Models and Metamodels

Modelo

Sistema

+modelo

Descreve > +sus

5

Modelo

Linguagem

Modelação

Metamodelo

< Confo rmeCom

Descreve >

Elemen toDe >

Page 6: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

Core Concepts Modeling Languages

Linguagem

Modelação

Sintaxe

Abstracta

Sintaxe

Concreta

Metamodelo

Notação

DSL«synonym»

«synonym»

«synonym»

6

Semântica

Pragmática

Page 7: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

MDE/MDD

�Considers Models as first class citizen artefacts

and allow - through various techniques such as,

for example, metamodeling, model

transformations, code generation and models

interpretation - the production or automatic

7

interpretation - the production or automatic

execution of software systems based on these

models.

Page 8: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

MDE/MDD

�Some popular initiatives

- MDA (Model Driven Architecture)

- Software Factories

- MIC (Model Integrated Computing)

Initiatives and Tools

8

- MIC (Model Integrated Computing)

Page 9: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

MDE/MDD

�The most popular tools

- Eclipse EMF (Eclipse Modeling Framework)

- Microsoft VisualStudio DSL Tools

Many othersG

Initiatives and Tools

9

� Many othersG

- Quidgest’s Genio

- Outsystems’ Agile Platforms

- JetBrains’s MPS

- NSI’s NS

Page 10: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

MDE/MDD In one picture!

Plata formaTransformação Modelo

+modelo-executável

+destino

+fonte

10

Produto

Transforma ção

Modelo-Modelo

Transforma ção

Modelo-Plataforma

Arte facto

Gerado

Arte facto

Não-Gerado

+destino

Page 11: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

Our research

�ProjectIT-RSL and RSLingo

- Requirements Specification Languages

�XIS2

- eXtreme Modeling for Interactive Systems

DSL designed so far*

11

- eXtreme Modeling for Interactive Systems

�CMS-ML

- Modeling Language for CMS-based web-applications

� DSL3S

- DSL for Spatial Simulations in the field of Geographic

Information Systems (GIS)

See some papers available from http://isg.inesc-id.pt/alb/ProjectIT

Page 12: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

Our research Some Thesis

� T1 – UML is not enough and

appropriate for defining UIs

soGwe proposed the XIS UML

Profile

Carlos Martins, Modelação de Interfaces

12

- Carlos Martins, Modelação de Interfaces

Gráficas no âmbito do ProjectIT (MEI/UMA),

MSc Thesis, Univ. Madeira, Nov 2007.

- Raul Queiroga, LEIC, IST/UTL, Arquitecturas

de Software no projecto XIS, Relatório de TFC,

LEIC, IST, Outubro de 2004.

- Gonçalo Lemos & Tiago Matias, LEIC,

IST/UTL, XIS - eXtended Interactive Systems,

Relatório de TFC, LEIC, IST, Julho de 2003.

Page 13: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

Our research Some Thesis

� T2 – In many situations we need to provide multiple related

languages to better support different stakeholders

- We validate this in the context of CMS-based Web Apps

João de Sousa Saraiva,

Development of CMS-based Web

13

Development of CMS-based Web

Applications with a Multi-

Language Model-Driven

Approach, PhD Thesis, IST/UTL

Jan/2013

Page 14: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

Our research Some Thesis

� T3 – Natural Language is the best RSL but still has several

drawbacks regarding qualityG

- We proposed the RSLingo approach to increase the RE

productivity and quality David de Almeida Ferreira, RSLingo: a Formal

Requirements Specification Approach based on

Linguistic Patterns, PhD Thesis, IST/UTL,

14

Linguistic Patterns, PhD Thesis, IST/UTL,

March/2013

Page 15: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

Research agenda!

�Hot research issues in MDE?

-Alignment between RE and MDE

-Architectures: Patterns, Frameworks

Discussion

15

-Languages: syntax and expressiveness,

semantics, pragmatics

-Tools: Models transformers, compilers,

debuggers, viewers, simulaters

Page 16: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

The emergence of lots of DSLs!

�Is this a Good or a Bad situation?

�Are we return to the days before the UML

language?

Discussion

16

Page 17: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

It is hard to transfer this technology!

�How to transfer DSL and MDE technologies

to the Industry?

�Why is it so hard to transfer it?

Discussion

17

Page 18: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

�For further information feel free to

contact me,

Alberto Rodrigues da Silva

Thank you!

18

IST / Technical University of Lisbon

Department of Computer Science and Engineering

[email protected] - http://isg.inesc-id.pt/alb/

Page 19: Reflections on Model Driven Development...MDE/MDD Considers Models as first class citizen artefacts and allow -through various techniques such as, for example, metamodeling, model

future

19