Web pages are essential components of web applications that provide User Interfaces (UIs) for interacting with the data and functionality of the applications. However, developing web pages manually can be a complex and tedious task that requires a lot of coding and testing. In this paper, we propose a code generation approach that aims to simplify and automate the web page development process. Our approach consists of two main elements: a metamodel that represents the data and logic of the web application using class diagrams, and a code generation template that uses Microsoft T4 Text Templates to produce HTML code from the metamodel. We show how the proposed approach can generate web pages that conform to the structure and content defined by the metamodel. We also discuss the benefits and challenges of the approach and suggest some directions for future work.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Toward an Automating Web User Interface Development Using a DSL-Based Approach

  • Lahbib Naimi,
  • Abdeslam Jakimi

摘要

Web pages are essential components of web applications that provide User Interfaces (UIs) for interacting with the data and functionality of the applications. However, developing web pages manually can be a complex and tedious task that requires a lot of coding and testing. In this paper, we propose a code generation approach that aims to simplify and automate the web page development process. Our approach consists of two main elements: a metamodel that represents the data and logic of the web application using class diagrams, and a code generation template that uses Microsoft T4 Text Templates to produce HTML code from the metamodel. We show how the proposed approach can generate web pages that conform to the structure and content defined by the metamodel. We also discuss the benefits and challenges of the approach and suggest some directions for future work.