DocumentCode :
2351424
Title :
Using indexed sequence diagrams to recover the behaviour of AJAX applications
Author :
McIntosh, Shane ; Adams, Bram ; Hassan, Ahmed E. ; Zou, Ying
Author_Institution :
Software Anal. & Intell. Lab. (SAIL), Queen´´s Univ., Kingston, ON, Canada
fYear :
2011
fDate :
30-30 Sept. 2011
Firstpage :
1
Lastpage :
10
Abstract :
AJAX is an asynchronous client-side technology that enables feature-rich, interactive Web 2.0 applications. AJAX applications and technologies are very complex compared to classic web applications, having to cope with asynchronous communication over (unstable) network connections. Yet, AJAX developers still rely on the ad hoc development processes and techniques of the early ´00s. To determine how the inherent complexity of AJAX impacts the design and maintenance of AJAX applications, this paper studies the amount of code reuse across the different features of an AJAX application. Furthermore, we analyze how the design of existing AJAX systems deal with AJAX-specific crosscutting concerns, such as handling the loss of network connectivity. We use dynamic analysis to recover the run-time behaviour of AJAX applications in the form of sequence diagrams that are indexed by the different asynchronous communication states that the application can be in. Exploratory case studies on three AJAX applications show that (1) a majority (60-90%) of the run-time behaviour is shared, theoretically simplifying maintenance, and (2) that the studied projects seem unprepared for loss of network connectivity, often presenting the user with an incorrect view of the application state.
Keywords :
Internet; Java; program diagnostics; AJAX applications; AJAX systems; ad hoc development process; asynchronous client-side technology; asynchronous communication; crosscutting concerns; dynamic analysis; indexed sequence diagrams; interactive Web 2.0 applications; network connectivity; run-time behaviour; Browsers; Fires; Instruments; Libraries; Web pages; Web servers;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Web Systems Evolution (WSE), 2011 13th IEEE International Symposium on
Conference_Location :
Williamsburg, VI
ISSN :
2160-6153
Print_ISBN :
978-1-4577-0699-8
Type :
conf
DOI :
10.1109/WSE.2011.6081813
Filename :
6081813
Link To Document :
بازگشت