Method based on layered programming to generate code automatic from the class diagram

Descripción del Articulo

The greatest effort in the development of web applications is focused on the generation of code manually based on a programming language. On the other hand, research works focus on solving design problems, while CASE tools generate limited or incomplete codes without formal specifications for web ap...

Descripción completa

Detalles Bibliográficos
Autor: Vega Fajardo, Adolfo Hans
Formato: artículo
Fecha de Publicación:2020
Institución:Universidad Nacional Mayor de San Marcos
Repositorio:Revistas - Universidad Nacional Mayor de San Marcos
Lenguaje:español
OAI Identifier:oai:ojs.csi.unmsm:article/17015
Enlace del recurso:https://revistasinvestigacion.unmsm.edu.pe/index.php/rpcsis/article/view/17015
Nivel de acceso:acceso abierto
Materia:Programming Technique
UML
Layer Architecture
Code Generation Method
Técnica de programación
arquitectura de capas
método de generación de códigos
Descripción
Sumario:The greatest effort in the development of web applications is focused on the generation of code manually based on a programming language. On the other hand, research works focus on solving design problems, while CASE tools generate limited or incomplete codes without formal specifications for web application development. This article proposes a method based on layered programming to generate code automatically from the UML class diagram for web applications. In this way, the class diagram file is analyzed and the respective code is generated. A design model has been defined as a meta-model, which has the formalism of layered programming and is represented by a profile with XML extension, in this way, the lines of XML code are extracted from the file that contains the diagram of classes, are compared with the meta-model through algorithms and then the code is generated automatically. To validate the proposal, an application completed with the objective of comparing between the process of automatic code generation and manual code generation was used, resulting in the code generation being reduced by up to 98%.
Nota importante:
La información contenida en este registro es de entera responsabilidad de la institución que gestiona el repositorio institucional donde esta contenido este documento o set de datos. El CONCYTEC no se hace responsable por los contenidos (publicaciones y/o datos) accesibles a través del Repositorio Nacional Digital de Ciencia, Tecnología e Innovación de Acceso Abierto (ALICIA).