This course introduces model-driven engineering (MDE) foundations and techniques within the context of software development. At the end, students can elaborate metamodels, develop specialized tools, create their own languages, transform models, and build variants of artefacts out of textual or graphical specifications. They are also able to understand and recognize classes of software systems, engineering scenarios, or contemporary frameworks for which the MDE concepts apply. In a sense, students are ready to apply state-of-the-art techniques for engineering software -- now and in the upcoming years!
Tools and languages like Xtext, Xtend, EMF, K3, FAMILIAR are used to make it practical. We illustrate the course with a running project, VideoGen, a configurable generator of generators of video variants.
-
domain-specific languages (DSL) -- DSLs.pdf
-
external DSLs and Xtext -- DSLAndXtext.pdf
-
metamodeling and EMF -- ModelManagementXtend1.pdf
-
model transformation-- ModelManagementXtend1.pdf
-
meta-programming, annotations, advanced compositions -- ModelManagementXtend2.pdf
-
Xtend, a modern programming language implemented with MDE principles (Xtext included) -- ModelManagementXtend2.pdf
-
software product lines, variability modeling, and configuration: some cases (VaryLaTeX, JHipster testing) -- SPLVariability-misc.pdf
- 20% (homework + project)
- 80% (partiel)
- 2 TDs
- TD1: https://docs.google.com/document/d/12WgEgLx8gfokdLC2iNmQpB3lIMN9lIRzwZlodgAil3w/edit?usp=sharing
- TD2: cf ExamIDM16.pdf (a typical exam)
- 6 TPs
- TP1: Xtext, first steps with VideoGen https://docs.google.com/document/d/1nJ50z8kYihbsp3iWazlp6ulpOPmMKnnMmHQM1ZqB1yg/edit?usp=sharing
- TP2: Model transformation, let's play video variants! https://docs.google.com/document/d/1_nFb-jv2ZnIaNw4c59McxXve8ahcZw5CKjcWYaSswkM/edit?usp=sharing
- TP3: Model transformation, data analysis https://docs.google.com/document/d/1OETjPKA7_bOuGKKt19Wc_fN4l7MWM0NUm8ra2N72oNM/edit?usp=sharing
- TP4: test, refactoring, and continuing https://docs.google.com/document/d/1VnuDxgmJpkxeYBddPbOR4L0XIPxgsdtdWCK0jKZMqYc/edit?usp=sharing
- TP5/TP6/projet: TP* (putting all together) https://docs.google.com/document/d/1VtFK0tDDLfxOmYktWliVA7M0WFXDv3mxreeghdub9cA/edit?usp=sharing
Jhipster and GPLs/DSLs: http://tinyurl.com/jhipster-langs1718 (collaborative list of all languages used in Jhipster)
Project: VideoGen (incl. 4 lab sessions)
Eclipse/Xtext: https://eclipse.org/downloads/eclipse-packages/ (Eclipse IDE for Java and DSL Developers)
- see "slides" folder of this repo (the updloads of slides will follow the progress of the courses)
- Resources used for the IDM course in 2016-217: https://github.com/acherm/teaching-MDE1617
- JOOQ and SQL: https://github.com/acherm/teaching-MDE1617/wiki/JOOQ-homework
- http://www.mathieuacher.com/teaching/MDE/ (content of previous years)
- variability and product lines: http://teaching.variability.io