Towards generic representation of web applications: solutions and trade-offs

被引:0
|
作者
Rajapakse, Damith C. [1 ]
Jarzabek, Stan [1 ]
机构
[1] Natl Univ Singapore, Dept Comp Sci, Sch Comp, Singapore 117548, Singapore
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2009年 / 39卷 / 05期
关键词
code duplication; clone unification; meta-programming; design patterns; Web applications; genericity;
D O I
10.1002/spe.908
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Server pages (also called dynamic pages) render a generic web page into many similar ones. The technique is commonly used for implementing web application user interfaces (UIs). Yet our previous study found a high rate of repetitions (also called 'clones') in web applications, particularly in UIs. The finding raised the question as to why such repetitions had not been averted with the use of server pages. For an answer, we conducted an experiment using PHP server pages to explore how far server pages can be pushed to achieve generic web applications. Our initial findings suggested that generic representation obtained using server pages sometimes compromises certain important system qualities such as run-time performance. It may also complicate the use of WYSIWYG editors. We have analysed the nature of these trade-offs, and now propose a mixed-strategy approach to obtain optimum generic representation of web applications without unnecessary compromise to critical system qualities and user experience. The mixed-strategy approach applies the generative technique of XVCL to achieve genericity at the meta-level representation of a web application, leaving repetitions to the actual web application. Our experiments show that the mixed-strategy approach can achieve a good level of genericity without conflicting with other system qualities. Our findings should open the way for others to better-informed decisions regarding generic design solutions, which should in turn lead to simpler, more maintainable and more reusable web applications. Copyright (C) 2008 John Wiley & Sons, Ltd.
引用
收藏
页码:501 / 530
页数:30
相关论文
共 50 条
  • [21] Short wave InfraRed detector trade-offs and applications
    Manissadjian, A
    Tribolet, P
    Chorier, P
    Fillon, P
    INFRARED TECHNOLOGY AND APPLICATIONS XXV111, PTS 1 AND 2, 2003, 4820 : 446 - 452
  • [22] Design Trade-offs of Crowdsourced Web Access in Community Networks
    Dimogerontakis, Emmanouil
    Meseguer, Roc
    Navarro, Leandro
    Ochoa, Sergio
    Veiga, Luis
    2017 IEEE 21ST INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN (CSCWD), 2017, : 24 - 29
  • [23] Biomimetics with Trade-Offs
    Vincent, Julian
    BIOMIMETICS, 2023, 8 (02)
  • [24] Trade-offs are not exogenous
    Deflorin, Patricia
    Scherrer-Rathje, Maike
    INTERNATIONAL JOURNAL OF PRODUCTION RESEARCH, 2013, 51 (15) : 4644 - 4666
  • [26] Integration trade-offs
    Tiberj V.
    European Political Science, 2013, 12 (4) : 539 - 541
  • [27] African trade-offs
    不详
    NATION, 1998, 266 (12) : 4 - 6
  • [28] A world of trade-offs
    Liebmann, L
    COMMUNICATIONS NEWS, 2000, 37 (01): : 102 - 102
  • [29] Strongly Proper Efficient Solutions: Efficient Solutions with Bounded Trade-Offs
    Khaledian, Kazhal
    Khorram, Esmaile
    Soleimani-damaneh, Majid
    JOURNAL OF OPTIMIZATION THEORY AND APPLICATIONS, 2016, 168 (03) : 864 - 883
  • [30] Strongly Proper Efficient Solutions: Efficient Solutions with Bounded Trade-Offs
    Kazhal Khaledian
    Esmaile Khorram
    Majid Soleimani-damaneh
    Journal of Optimization Theory and Applications, 2016, 168 : 864 - 883