Monday, March 12, 2012

Ajax-based Report Pages as Incrementally Rendered Views

Ajax-based Report Pages as Incrementally Rendered ViewsAjax-based Report Pages as Incrementally Rendered Views Yupeng Fu UC San Diego yupeng@cs.ucsd.edu Keith Kowalczykowski app2you, Inc. keith@app2you.com Kian Win Ong UC San Diego kianwin@cs.ucsd.edu Yannis Papakonstantinou app2you, Inc. and UC San Diego yannis@cs.ucsd.edu Kevin Keliang Zhao UC San Diego kezhao@cs.ucsd.edu ABSTRACT While Ajax-based programming enables faster performance and higher interface quality over pure server-side program- ming, it is demanding and error prone as each action that partially updates the page requires custom, ad-hoc code. The problem is exacerbated by

distributed programming between the browser and server, where the developer uses JavaScript to access the page state and Java/SQL for the database. The FORWARD framework simpli es the devel- opment of Ajax pages by treating them as rendered views, where the developer declares a view using an extension of SQL and page units, which map to the view and render the data in the browser. Such a declarative approach leads to signi cantly less code, as the framework automatically solves performance optimization problems that the devel- oper would otherwise hand-code. Since pages are fueled by views, FORWARD leverages years of database research on incremental view maintenance by creating optimization techniques appropriately extended for the needs of pages (nesting, variability, ordering), thereby achieving performance comparable to hand-coded JavaScript/Java applications. Categories and Subject Descriptors H.2.8 [Information Systems]: Database Management| Database Applications General Terms Languages Keywords Ajax, SQL, View Maintenance Supported by NSF IIS-00917379 and a Google Research Award Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the...

Website: db.ucsd.edu | Filesize: 502kb
No of Page(s): 12
Download Ajax-based Report Pages as Incrementally Rendered Views.pdf

No comments:

Post a Comment