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 条
  • [41] Generating dynamic content at database-backed web servers: cgi-bin vs mod_perl
    Labrinidis, A
    Roussopoulos, N
    [J]. SIGMOD RECORD, 2000, 29 (01) : 26 - 31
  • [42] Improving access to e-journals and databases at the MIT Libraries: Building a database-backed Web site called "Vera"
    Hennig, N
    [J]. SERIALS LIBRARIAN, 2002, 41 (3-4) : 227 - 254
  • [43] Protecting Data Integrity of Web Applications with Database Constraints Inferred from Application Code
    Huang, Haochen
    Shen, Bingyu
    Zhong, Li
    Zhou, Yuanyuan
    [J]. PROCEEDINGS OF THE 28TH ACM INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, VOL 2, ASPLOS 2023, 2023, : 632 - 645
  • [44] Database-backed library websites: a case study of the use of PHP and MySQL at the University of Nottingham
    Gardner, M
    Pinfield, S
    [J]. PROGRAM-ELECTRONIC LIBRARY AND INFORMATION SYSTEMS, 2001, 35 (01) : 33 - 42
  • [45] Managing Web-based data - Database models and transformations
    Atzeni, P
    Merialdo, P
    Mecca, G
    [J]. IEEE INTERNET COMPUTING, 2002, 6 (04) : 33 - 37
  • [46] Using finite state machines as design and engineering model for database backed web applications
    Vienna University of Technology, Institute of Computer Technology, Gusshausstrasse 27-29/384, Vienna
    A-1040, Austria
    [J]. Proc. Annu. Hawaii Int. Conf. Syst. Sci.,
  • [47] The QuakeSim Project: Web Services for Managing Geophysical Data and Applications
    Marlon E. Pierce
    Geoffrey C. Fox
    Mehmet S. Aktas
    Galip Aydin
    Harshawardhan Gadgil
    Zhigang Qi
    Ahmet Sayar
    [J]. Pure and Applied Geophysics, 2008, 165 : 635 - 651
  • [48] The QuakeSim project: Web services for managing geophysical data and applications
    Pierce, Marlon E.
    Fox, Geoffrey C.
    Aktas, Mehmet S.
    Aydin, Galip
    Gadgil, Harshawardhan
    Qi, Zhigang
    Sayar, Ahmet
    [J]. PURE AND APPLIED GEOPHYSICS, 2008, 165 (3-4) : 635 - 651
  • [49] Managing Web data
    Suciu, D
    [J]. SIGMOD RECORD, VOL 28, NO 2 - JUNE 1999: SIGMOD99: PROCEEDINGS OF THE 1999 ACM SIGMOD - INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 1999, : 510 - 510
  • [50] Managing data provenance in database
    Liu, Xiping
    Wan, Changxuan
    Jiang, Tengjiao
    [J]. Journal of Information and Computational Science, 2009, 6 (01): : 423 - 431