Skip to main content

Automatic Code Generation System for Transactional Web Applications

  • Conference paper
  • First Online:
Computational Science and Its Applications – ICCSA 2019 (ICCSA 2019)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.getbootstrap.com/.

  2. 2.

    https://www.jquery.com/.

  3. 3.

    https://www.mysql.com/.

  4. 4.

    http://www.umldesigner.org/.

References

  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)

    Article  Google Scholar 

  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_25

    Chapter  Google Scholar 

  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_26

    Chapter  Google Scholar 

  4. Jones, C.: Applied Software Measurement: Global Analysis of Productivity and Quality. McGraw-Hill Education Group, New York City (2008)

    Google Scholar 

  5. Lawrie, R.: Using functional sizing in software projects estimating. Charismatek Software Metrics (2002)

    Google Scholar 

  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. Mbarki, S., Erramdani, M.: Toward automatic generation of mvc2 web applications. INFOCOMP 7(4), 84–91 (2008)

    Google Scholar 

  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. 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. 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)

    Article  Google Scholar 

  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_28

    Chapter  Google Scholar 

  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. 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_27

    Chapter  Google Scholar 

  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. Symons, C.R.: Function point analysis: difficulties and improvements. IEEE Trans. Softw. Eng. 14(1), 2–11 (1988)

    Article  Google Scholar 

  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 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hector Florez .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Florez, H., Garcia, E., Muñoz, D. (2019). Automatic Code Generation System for Transactional Web Applications. In: Misra, S., et al. Computational Science and Its Applications – ICCSA 2019. ICCSA 2019. Lecture Notes in Computer Science(), vol 11623. Springer, Cham. https://doi.org/10.1007/978-3-030-24308-1_36

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-24308-1_36

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-24307-4

  • Online ISBN: 978-3-030-24308-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics