一句话:提出 Panorama,一个以视图为中心、数据库感知的 Web 开发环境,帮助开发者理解 HTML 元素成本并探索性能与功能权衡。
数据库支持的 Web 应用需要在页面信息量与加载时间之间权衡,但页面内容多由后端数据库中的用户数据动态生成,开发者难以理解每个页面元素的生成开销,也难以探索不同设计在性能与功能上的折中。本文提出 Panorama,一个以视图为中心且数据库感知的开发环境。它结合数据库感知的程序分析与新型 IDE 设计,为开发者提供每个 HTML 元素背后的成本信息和性能优化机会,并建议全局代码重构,使开发者能够方便地探索广泛的性能-功能权衡空间。摘要未报告定量实验结果,贡献主要为工具设计、分析机制与重构建议。
Web developers face the stringent task of designing informative web pages while keeping the page-load time low. This task has become increasingly challenging as most web contents are now generated by processing ever-growing amount of user data stored in back-end databases. It is difficult for developers to understand the cost of generating every web-page element, not to mention explore and pick the web design with the best trade-off between performance and functionality. In this paper, we present Panorama, a view-centric and database-aware development environment for web developers. Using database-aware program analysis and novel IDE design, Panorama provides developers with intuitive information about the cost and the performance-enhancing opportunities behind every HTML element, as well as suggesting various global code refactorings that enable developers to easily explore a wide spectrum of performance and functionality trade-offs.