Advertisement

Automatic Code Generation System for Transactional Web Applications

  • Hector FlorezEmail author
  • Edwarth Garcia
  • Deisy Muñoz
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11623)

Abstract

Every day new applications appear, but several of these applications usually share a lot of features. Some applications are based on frameworks; however, most features introduce a lot of source code impacting the performance of an application especially when the application is web-based. Thus, automatic code generators have gained attention in the last years because they provide the required elements to create automatically final applications without introducing a source code that is not part of the application model. In this paper, we present an approach to generate transactional web applications based on a conceptual model as the unique input. Through the conceptual model, modelers can specify the entities, attributes, and relations of the application. Then, the approach is able to generate: (a) the source code separated in UI, business, and persistence layers, (b) the DDL (Data Definition Language) scripts for the corresponding relational database, and a script to create corresponding UML diagrams.

Keywords

Code generation Conceptual model Web application 

References

  1. 1.
    Albhbah, A.M., Ridley, M.J.: A rule framework for automatic generation of web forms. Int. J. Comput. Theor. Eng. 4(4), 584 (2012)CrossRefGoogle Scholar
  2. 2.
    Cuadrado-Gallego, J.J., Rodríguez, D., Machado, F., Abran, A.: Convertibility between IFPUG and COSMIC functional size measurements. In: Münch, J., Abrahamsson, P. (eds.) PROFES 2007. LNCS, vol. 4589, pp. 273–283. Springer, Heidelberg (2007).  https://doi.org/10.1007/978-3-540-73460-4_25CrossRefGoogle Scholar
  3. 3.
    Florez, H., Leon, M.: Model driven engineering approach to configure software reusable components. In: Florez, H., Diaz, C., Chavarriaga, J. (eds.) ICAI 2018. CCIS, vol. 942, pp. 352–363. Springer, Cham (2018).  https://doi.org/10.1007/978-3-030-01535-0_26CrossRefGoogle Scholar
  4. 4.
    Jones, C.: Applied Software Measurement: Global Analysis of Productivity and Quality. McGraw-Hill Education Group, New York City (2008)Google Scholar
  5. 5.
    Lawrie, R.: Using functional sizing in software projects estimating. Charismatek Software Metrics (2002)Google Scholar
  6. 6.
    Li, L., Yang, J., Liu, Z., Bao, L.: The research and application of web page code automatic generation technology. In: 2011 2nd International Conference on Artificial Intelligence, Management Science and Electronic Commerce (AIMSEC), pp. 5246–5249. IEEE (2011)Google Scholar
  7. 7.
    Mbarki, S., Erramdani, M.: Toward automatic generation of mvc2 web applications. INFOCOMP 7(4), 84–91 (2008)Google Scholar
  8. 8.
    Mgheder, M.A., Ridley, M.J.: Automatic generation of web user interfaces in PHP using database metadata. In: 2008 Third International Conference on Internet and Web Applications and Services, ICIW 2008, pp. 426–430. IEEE (2008)Google Scholar
  9. 9.
    Milosavljević, B., Vidaković, M., Konjović, Z.: Automatic code generation for database-oriented web applications. In: Proceedings of the Inaugural Conference on the Principles and Practice of Programming, 2002 and Proceedings of the Second Workshop on Intermediate Representation Engineering for Virtual Machines, 2002, pp. 59–64. National University of Ireland (2002)Google Scholar
  10. 10.
    Nadkarni, P.M., Brandt, C.M., Marenco, L.: WebEAV: automatic metadata-driven generation of web interfaces to entity-attribute-value databases. J. Am. Med. Inf. Assoc. 7(4), 343–356 (2000)CrossRefGoogle Scholar
  11. 11.
    Sanchez, D., Florez, H.: Model driven engineering approach to manage peripherals in mobile devices. In: Gervasi, O., et al. (eds.) ICCSA 2018. LNCS, vol. 10963, pp. 353–364. Springer, Cham (2018).  https://doi.org/10.1007/978-3-319-95171-3_28CrossRefGoogle Scholar
  12. 12.
    Sanchez, D., Mendez, O., Florez, H.: Applying the 3-layer model in the construction of a framework to create web applications. In: IMCIC 2017–8th International Multi-Conference on Complexity, Informatics and Cybernetics, Proceedings, vol. 2017-March, pp. 364–369 (2017)Google Scholar
  13. 13.
    Sanchez, D., Mendez, O., Florez, H.: An approach of a framework to create web applications. In: Gervasi, O., et al. (eds.) ICCSA 2018. LNCS, vol. 10963, pp. 341–352. Springer, Cham (2018).  https://doi.org/10.1007/978-3-319-95171-3_27CrossRefGoogle Scholar
  14. 14.
    Senthil, J., Arumugam, S., Kapoor, S.M.A.A.: Automatic code generation for recurring code patterns in web based applications and increasing efficiency of data access code. Int. J. Comput. Sci. 9(3), 473–476 (2012)Google Scholar
  15. 15.
    Symons, C.R.: Function point analysis: difficulties and improvements. IEEE Trans. Softw. Eng. 14(1), 2–11 (1988)CrossRefGoogle Scholar
  16. 16.
    Turau, V.: A framework for automatic generation of web-based data entry applications based on XML. In: Proceedings of the 2002 ACM Symposium on Applied Computing, pp. 1121–1126. ACM (2002)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Universidad Distrital Francisco Jose de CaldasBogotáColombia

Personalised recommendations