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 条
  • [1] The use of trade-offs in the development of web applications
    Ziemer, S
    Stålhane, T
    ENGINEERING ADVANCED WEB APPLICATIONS, 2004, : 269 - 281
  • [2] Electoral Reform and Trade-Offs in Representation
    Becher, Michael
    Gonzalez, Irene Menendez
    AMERICAN POLITICAL SCIENCE REVIEW, 2019, 113 (03) : 694 - 709
  • [3] The Integration Trade-Offs of Political Representation
    rahsaan maxwell
    European Political Science, 2013, 12 : 467 - 478
  • [4] The integration trade-offs of political representation
    Maxwell, Rahsaan
    EUROPEAN POLITICAL SCIENCE, 2013, 12 (04) : 467 - 478
  • [5] Trade-offs in the latent representation of microstructure evolution
    Desai, Saaketh
    Shrivastava, Ankit
    D'Elia, Marta
    Najm, Habib N.
    Dingreville, Remi
    ACTA MATERIALIA, 2024, 263
  • [6] Towards environmental management accounting for trade-offs
    Christ, Katherine Leanne
    Burritt, Roger
    Varsei, Mohsen
    SUSTAINABILITY ACCOUNTING MANAGEMENT AND POLICY JOURNAL, 2016, 7 (03) : 428 - 448
  • [7] Trade-offs in planner representation for automated software testing
    von Mayrhauser, Anneliese
    Scheetz, Michael
    Dahlman, Eric
    Howe, Adele E.
    IEEE Aerospace Applications Conference Proceedings, 1999, 5 : 83 - 92
  • [8] Trade-offs
    Garland, Theodore, Jr.
    CURRENT BIOLOGY, 2014, 24 (02) : R60 - R61
  • [9] COST TRADE-OFFS IN GRAPH EMBEDDINGS, WITH APPLICATIONS
    HONG, JW
    MEHLHORN, K
    ROSENBERG, AL
    JOURNAL OF THE ACM, 1983, 30 (04) : 709 - 728
  • [10] Metabolic Objectives and Trade-Offs: Inference and Applications
    Lin, Da-Wei
    Khattar, Saanjh
    Chandrasekaran, Sriram
    METABOLITES, 2025, 15 (02)