摘要
对Ajax工作原理和数据传输性能进行分析,从响应数据的返回格式角度入手,通过实验,对比2种数据格式XML和JSON的差异与优劣,基于实际应用场景,给出权衡取舍的建议,总结出效率和安全性更高的Ajax模型,改善了目前Ajax带来的数据响应冗余的缺陷。
This paper analyzes the work principle and data transmission performance of Ajax, and discusses the difference between XML and JSON by experiments with a focus on the format of response data returned. Some suggestions to choose either based on the current application scenarios are given, an optimized model of Ajax which is more efficient and secure is summarized, which improves the shortcomings such as data response redundancy caused by Ajax nowadays.
出处
《计算机工程》
CAS
CSCD
北大核心
2010年第7期52-54,共3页
Computer Engineering
基金
高等学校博士点基金资助项目"构件系统中软件架构定义与构件实现一致性和通信方法的研究"(20060269002)