jax技术的数据响应优化
ata response optimization of the Ajax technology
jax技术作为一种新兴的Web应用开发技术,相较于传统的Web应用开发模式,能提供更流畅而优质的用户体验,为创建类桌面应用程序提供了可能性。本文针对Ajax工作原理和数据传输性能进行了分析,随后从响应数据的返回格式角度入手,进一步通过实验对比了两种数据格式XML和JSON的差异和优劣,并基于实际情况给出了权衡取舍的一些建议,总结出了较为优化的Ajax模型,使目前Ajax带来的数据响应冗余的缺陷得到了改善。
s an emerging developing technology of web applications, in contrast to traditional ways, Ajax is capable of providing smoother user experience and possibility to create desktop-like applications. To summarize an optimized model of Ajax, this paper analyzes the work principle and data transmission performance of Ajax, and then discusses the difference between XML and JSON by experiments with a focus on the format of response data returned. Furthermore, some suggestions to choose either based on the current conditions are given, which improves the shortcomings such as data response redundancy caused by Ajax nowadays.
谭力、谢瑾奎、杨宗源
计算技术、计算机技术
jax数据响应XMLJSON
jaxdata responseXMLJSON
谭力,谢瑾奎,杨宗源.jax技术的数据响应优化[EB/OL].(2009-03-19)[2025-05-10].http://www.paper.edu.cn/releasepaper/content/200903-712.点此复制
评论