Generating Reusable Web Components from Mockups

被引:15
|
作者
Bajammal, Mohammad [1 ]
Mazinanian, Davood [1 ]
Mesbah, Ali [1 ]
机构
[1] Univ British Columbia, Vancouver, BC, Canada
关键词
web UI; web components; web refactoring; machine learning; computer vision; CLONE DETECTION; CODE;
D O I
10.1145/3238147.3238194
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The transformation of a user interface mockup designed by a graphic designer to web components in the final app built by a web developer is often laborious, involving manual and time consuming steps. We propose an approach to automate this aspect of web development by generating reusable web components from a mockup. Our approach employs visual analysis of the mockup, and unsupervised learning of visual cues to create reusable web components (e.g., REACT components). We evaluated our approach, implemented in a tool called VIZMOD, on five real-world web mockups, and assessed the transformations and generated components through comparison with web development experts. The results show that VIZMOD achieves on average 94% precision and 75% recall in terms of agreement with the developers' assessment. Furthermore, the refactorings yielded 22% code reusability, on average.
引用
收藏
页码:601 / 611
页数:11
相关论文
共 50 条
  • [1] From Interface Mockups to Web Application Models
    Matias Rivero, Jose
    Rossi, Gustavo
    Grigera, Julian
    Robles Luna, Esteban
    Navarro, Antonio
    WEB INFORMATION SYSTEMS ENGINEERING - WISE 2011, 2011, 6997 : 257 - +
  • [2] Construction of adaptive web-applications from reusable components
    Graef, G
    Gaedke, M
    ELECTRONIC COMMERCE AND WEB TECHNOLOGIES, PROCEEDINGS, 2000, 1875 : 1 - 12
  • [3] Identifying reusable components in Web applications
    Di Lucca, GA
    Fasolino, AR
    Tramontana, P
    De Carlini, U
    PROCEEDINGS OF THE IASTED INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2004, : 526 - 531
  • [4] Reusable aspect components for Web applications
    Hokamura, Keiji
    Ubayashi, Naoyasu
    Nakajima, Shin
    Iwai, Akihito
    TENCON 2010: 2010 IEEE REGION 10 CONFERENCE, 2010, : 1059 - 1064
  • [5] Enabling the generation of web applications from mockups
    D'Souza, Chris
    Deufemia, Vincenzo
    Ginige, Athula
    Polese, Giuseppe
    SOFTWARE-PRACTICE & EXPERIENCE, 2018, 48 (04): : 945 - 973
  • [6] Automatically Generating Websites from Hand-drawn Mockups
    Ferreira, Joao Silva
    Restivo, Andre
    Ferreira, Hugo Sereno
    VISAPP: PROCEEDINGS OF THE 16TH INTERNATIONAL JOINT CONFERENCE ON COMPUTER VISION, IMAGING AND COMPUTER GRAPHICS THEORY AND APPLICATIONS - VOL. 5: VISAPP, 2021, : 48 - 58
  • [7] Generating intelligent tutoring systems from reusable components and knowledge-based systems
    El-Sheikh, E
    Sticklen, J
    INTELLIGENT TUTORING SYSTEMS, 2002, 2363 : 199 - 207
  • [8] Scaffolding Relational Schemas and APIs from Content in Web Mockups
    Murolo, Alfonso
    Ehrensberger, Sybil
    Asani, Zera
    Norrie, Moira C.
    CONCEPTUAL MODELING, ER 2017, 2017, 10650 : 149 - 163
  • [9] Web-based retrieving mechanism of reusable components
    Sang, D.Y.
    Wang, Y.
    Li, Y.X.
    Xiaoxing Weixing Jisuanji Xitong/Mini-Micro Systems, 2001, 22 (01):
  • [10] CONSTRUCTING APPLICATIONS FROM REUSABLE COMPONENTS
    STARINGER, W
    IEEE SOFTWARE, 1994, 11 (05) : 61 - 68