An ADM-based Method for Migrating CMS-based Web Applications: Extracting ASTM Models from PHP Code

被引:2
|
作者
Trias, Feliu [1 ]
de Castro, Valeria [1 ]
Lopez-Sanz, Marcos [1 ]
Marcos, Esperanza [1 ]
机构
[1] Univ Rey Juan Carlos, Grp Investac Kybele, Madrid 28933, Spain
关键词
D O I
10.5220/0004602900850092
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In recent years, Architecture-Driven Modernization (ADM) is gaining increasing acceptance in software reengineering processes of existing systems. It can help reduce reengineering costs by automating the activities, such as extracting models from the source code. This is specially crucial in the reengineering of CMS-based Web applications. At time of writing there are no methods that could be used in that context. Hence, we define an ADM-based method for migrating CMS-based Web applications. In the context of this method, we present in this paper the implementation of the text-to-model (M2T) transformations to extract models from PHP code. These models conform to Abstract Syntax Tree Metamodel (ASTM) a standard metamodel proposed by ADM. To implement these transformations we performed three activities: 1) definition of a PHP grammar, 2) mapping PHP grammar elements to elements of ASTM and 3) implementation of a model extractor. To show the feasibility of our approach we use a real example of PHP code from a CMS-based Web application implemented in Drupal.
引用
收藏
页码:85 / 92
页数:8
相关论文
共 18 条
  • [1] Migrating Traditional Web Applications to CMS-based Web Applications
    Trias, Feliu
    de Castro, Valeria
    Lopez-Sanz, Marcos
    Marcos, Esperanza
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2015, 314 : 23 - 44
  • [2] Reverse Engineering Applied to CMS-Based Web Applications Coded in PHP: A Proposal of Migration
    Trias, Feliu
    de Castro, Valeria
    Lopez-Sanz, Marcos
    Marcos, Esperanza
    EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, ENASE 2013, 2013, 417 : 241 - 256
  • [3] RE-CMS: A Reverse Engineering Toolkit for the Migration to CMS-based Web Applications
    Trias, Feliu
    de Castro, Valeria
    Lopez-Sanz, Marcos
    Marcos, Esperanza
    30TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, VOLS I AND II, 2015, : 810 - 812
  • [4] Automated Analysis and Evaluation of Web Applications Design: The CMS-based Web Applications Case Study
    Gkantouna, Vassiliki
    Tsakalidis, Athanasios
    Tzimas, Giannis
    PROCEEDINGS OF THE 12TH INTERNATIONAL CONFERENCE ON WEB INFORMATION SYSTEMS AND TECHNOLOGIES, VOL 1 (WEBIST), 2016, : 130 - 139
  • [5] ADM-Based Migration from JAVA']JAVA Swing to RIA Applications
    Mbarki, Samir
    Laaz, Naziha
    Gotti, Sara
    Gotti, Zineb
    INTERNATIONAL JOURNAL OF INFORMATION SYSTEMS IN THE SERVICE SECTOR, 2016, 8 (02) : 98 - 112
  • [6] Development of CMS-based Web-Applications Using a Model-Driven Approach
    Saraiva, Joao de Sousa
    da Silva, Alberto Rodrigues
    2009 FOURTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING ADVANCES (ICSEA 2009), 2009, : 500 - 505
  • [7] A Method for Extracting QR Code from Complex Background Based on Morphology
    Yang, Xu
    Gao, Xiang
    Jia, Siqiang
    Lu, Qiyong
    MEASUREMENT TECHNOLOGY AND ITS APPLICATION, PTS 1 AND 2, 2013, 239-240 : 1466 - 1471
  • [8] Extracting Interactive Actor-Based Dataflow Models from Legacy C Code
    Rentz, Niklas
    Smyth, Steven
    Andersen, Lewe
    von Hanxleden, Reinhard
    DIAGRAMMATIC REPRESENTATION AND INFERENCE, DIAGRAMS 2021, 2021, 12909 : 361 - 377
  • [9] Superimposed code-based indexing method for extracting MCTs from XML documents
    Liang, Wenxin
    Miki, Takeshi
    Yokota, Hartio
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2008, 5181 : 508 - +
  • [10] A New Vision-Based Method for Extracting Academic Information from Conference Web Pages
    Wang, Peng
    Zhou, Mingqi
    You, Yue
    Zhang, Xiang
    2012 IEEE 24TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI 2012), VOL 1, 2012, : 976 - 981