Dergiler / Turkish Journal of Electrical Engineering and Computer Sciences / 2020 / Cilt: 28 - Sayı: 3

A template-based code generator for web applications

Sayfa
1747–1762
DOI
—

Abstract

The importance and usage of web applications grow every day. Today from small businesses to large-scalecorporations, many institutions prefer web applications for both their internal and external services. Code size andcomplexity of these kinds of applications grow rapidly. This brings up the question of how to improve the developmentprocess of web applications. A solution can be to use code generators. This paper introduces a template-based codegenerator to improve the development process of web applications. The code generator was developed and integratedinto a real-life web application. Today, the web application together with the code generator is actively used in industry.This proves that an effective integration of a template-based code generator into a real-life large-scale web applicationcan be achieved. In addition, the effectiveness of automatic code generation to manual implementation was shown withexperimentation. Throughout the experiments, bug-free code generation was observed. Also, 98.95% improvement inaverage development time, 93.97% improvement in average test run count, and 49.37% improvement in average code sizewas achieved.