Managing data constraints in database-backed web applications

被引:11
作者
Yang, Junwen [1 ]
Sethi, Utsav [1 ]
Yan, Cong [2 ]
Cheung, Alvin [3 ]
Lu, Shan [1 ]
机构
[1] Univ Chicago, Chicago, IL 60637 USA
[2] Univ Washington, Seattle, WA 98195 USA
[3] Univ Calif Berkeley, Berkeley, CA 94720 USA
来源
2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020) | 2020年
基金
美国国家科学基金会;
关键词
D O I
10.1145/3377811.3380375
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Database-backed web applications manipulate large amounts of persistent data, and such applications often contain constraints that restrict data length, data value, and other data properties. Such constraints are critical in ensuring the reliability and usability of these applications. In this paper, we present a comprehensive study on where data constraints are expressed, what they are about, how often they evolve, and how their violations are handled. The results show that developers struggle with maintaining consistent data constraints and checking them across different components and versions of their web applications, leading to various problems. Guided by our study, we developed checking tools and API enhancements that can automatically detect such problems and improve the quality of such applications.
引用
收藏
页码:1098 / 1109
页数:12
相关论文
共 50 条
  • [31] Creating database-backed library web pages: Using open source tools
    Nicol, Erica Carlson
    JOURNAL OF ACADEMIC LIBRARIANSHIP, 2007, 33 (01) : 151 - 151
  • [32] Qapla: Policy compliance for database-backed systems
    Mehta, Aastha
    Elnikety, Eslam
    Harvey, Katura
    Garg, Deepak
    Druschel, Peter
    PROCEEDINGS OF THE 26TH USENIX SECURITY SYMPOSIUM (USENIX SECURITY '17), 2017, : 1463 - 1479
  • [33] REFORMULATOR: Automated Refactoring of the N+1 Problem in Database-Backed Applications
    Turcotte, Alexi
    Aldrich, Mark W.
    Tip, Frank
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [34] Form-based proxy caching for database-backed web sites: keywords and functions
    Luo, Qiong
    Naughton, Jeffrey F.
    Xue, Wenwei
    VLDB JOURNAL, 2008, 17 (03) : 489 - 513
  • [35] Form-based proxy caching for database-backed web sites: keywords and functions
    Qiong Luo
    Jeffrey F. Naughton
    Wenwei Xue
    The VLDB Journal, 2008, 17 : 489 - 513
  • [36] Creating database-backed library web pages: Using open source tools.
    Fleming, Kathleen
    REFERENCE & USER SERVICES QUARTERLY, 2007, 46 (04) : 96 - 96
  • [37] Database-backed decision trees with application to biological informatics
    Robert A. Morris
    Jacob K. Asiedu
    William A. Haber
    Fred SaintOurs
    Robert D. Stevenson
    Hua Tang
    Journal of Intelligent Information Systems, 2007, 29 : 25 - 38
  • [38] The Web Page as a WYSIWYG End-User Customizable Database-Backed Information Management Application
    Karger, David R.
    Ostler, Scott
    Lee, Ryan
    UIST 2009: PROCEEDINGS OF THE 22ND ANNUAL ACM SYMPOSIUM ON USER INTERFACE SOFTWARE AND TECHNOLOGY, 2009, : 257 - 260
  • [39] Database-backed decision trees with application to biological informatics
    Morris, Robert A.
    Asiedu, Jacob K.
    Haber, William A.
    SaintOurs, Fred
    Stevenson, Robert D.
    Tang, Hua
    JOURNAL OF INTELLIGENT INFORMATION SYSTEMS, 2007, 29 (01) : 25 - 38
  • [40] Database-Backed Program Analysis for Scalable Error Propagation
    Weiss, Cathrin
    Rubio-Gonzalez, Cindy
    Liblit, Ben
    2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 1, 2015, : 586 - 597