Using indexed sequence diagrams to recover the behaviour of AJAX applications

Shane McIntosh, Bram Adams, A. Hassan, Ying Zou
{"title":"Using indexed sequence diagrams to recover the behaviour of AJAX applications","authors":"Shane McIntosh, Bram Adams, A. Hassan, Ying Zou","doi":"10.1109/WSE.2011.6081813","DOIUrl":null,"url":null,"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.","PeriodicalId":414937,"journal":{"name":"2011 13th IEEE International Symposium on Web Systems Evolution (WSE)","volume":"96 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-11-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 13th IEEE International Symposium on Web Systems Evolution (WSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WSE.2011.6081813","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用索引序列图来恢复AJAX应用程序的行为
AJAX是一种异步客户端技术,支持功能丰富的交互式Web 2.0应用程序。与传统的web应用程序相比,AJAX应用程序和技术非常复杂,必须处理(不稳定的)网络连接上的异步通信。然而,AJAX开发人员仍然依赖于21世纪初的特殊开发流程和技术。为了确定AJAX固有的复杂性如何影响AJAX应用程序的设计和维护,本文研究了AJAX应用程序的不同特性之间的代码重用量。此外,我们还分析了现有AJAX系统的设计如何处理特定于AJAX的横切关注点,例如处理网络连接的丢失。我们使用动态分析以序列图的形式恢复AJAX应用程序的运行时行为,序列图由应用程序可能处于的不同异步通信状态索引。对三个AJAX应用程序的探索性案例研究表明:(1)大多数(60-90%)的运行时行为是共享的,理论上简化了维护;(2)所研究的项目似乎没有为失去网络连接做好准备,经常向用户展示不正确的应用程序状态视图。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Using dynamic analysis for generating end user documentation for Web 2.0 applications Migration of SOAP-based services to RESTful services Objects in the cloud may be closer than they appear towards a taxonomy of web-based software Ten years of access for all from WSE 2001 to WSE 2011 Finding family and friends in the aftermath of a disaster using federated queries on social networks and websites
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1