Model-driven architecture: generating models from Symfony framework

M'hamed Rahmouni, Chaymae Talbi, Soumia Ziti

Abstract


The web application development industry is constantly growing due to the extensive use of web applications in different devices, most of them run on Android, iOS, and Windows Phone operating systems. However, the development of applications designed for platforms requires more concerns such as code efficiency, interaction with devices, and speed of market penetration. The model-driven approach (MDA) combined with unified modeling language (UML) could provide abstraction and automation for software developers. This paper presents an MDA approach for the development of web applications based on the Symfony framework, UML modeling, model transformation, and then automatic code generation in order to facilitate and accelerate the development of web applications. The first step of this work is to establish the metamodel of Symfony framework and the metamodel of UML class diagram. In the second step, the various transformation rules between the source and target metamodels are first defined. Atlas transformation language (ATL) implements these rules. The result of this transformation is a platform-specific model (PSM) represented by Ecore language. The generated PSM model represents the input model of model-to-code (M2C) transformation for generating the code of web applications. To validate this work, we have implemented a case study.

Keywords


Atlas transformation language; Metamodel; Model-driven architecture; MVC2; PHP Symfony framework; Platform-independent model; Platform-specific model

Full Text:

PDF


DOI: http://doi.org/10.11591/ijeecs.v30.i3.pp1659-1668

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Indonesian Journal of Electrical Engineering and Computer Science (IJEECS)
p-ISSN: 2502-4752, e-ISSN: 2502-4760
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).

shopify stats IJEECS visitor statistics