首页 | 本学科首页   官方微博 | 高级检索  
     检索      

JSON在Ajax数据交换中的应用研究
引用本文:屈展,李婵.JSON在Ajax数据交换中的应用研究[J].西安石油大学学报(自然科学版),2011,26(1):95-98,122.
作者姓名:屈展  李婵
作者单位:西安石油大学,计算机学院,陕西,西安,710065
基金项目:国家自然科学基金项目“远程钻井网上会战智能应用系统理论与方法的研究”(编号:50074024)
摘    要:基于Ajax(Asynchronous JavaScript And XML)技术的W eb程序开发和应用主要采用传统的XML数据传输格式,这种数据格式不但会产生大量数据冗余,而且还存在着解析复杂等问题.将XML和JSON进行对比分析,最终选择JSON作为Ajax中的数据传输格式,并用jQuery来解析JSON数据.JSON传输格式可以屏蔽DOM解析XML文件的复杂性,缩短数据传输时间,解决Ajax Web应用系统中数据传输效率优化问题.提出一种Ajax+JSON+jQuery传输方案,通过实例证明这种传输方案能够有效提高W eb应用系统的数据传输效率,减少客户端的请求响应时间.

关 键 词:数据交换  传输格式  Ajax  jQuery  JSON  传输效率

Application of JSON in Ajax data exchange
QV Zhan,LI Chan.Application of JSON in Ajax data exchange[J].Journal of Xian Shiyou University,2011,26(1):95-98,122.
Authors:QV Zhan  LI Chan
Institution:QU Zhan,LI Chan (College of Computer Science,Xi'an Shiyou University,Xi'an 710065,Shaanxi,China)
Abstract:The traditional XML transmission format is mainly used in the development and application of the Web programs based on Ajax (Asynchronous JavaScript And XML)technology.The data format will engender not only large quantities of data redundancy but also other complex problems.Compared with the XML,the JSON is selected as the data transmission format and jQuery is used for analyzing the JSON data.Using JSON transmission format can shield the complexity of analyzing XML documents using DOM,which not only shorte...
Keywords:data exchange  transmission format  Ajax  jQuery  JSON  transmission efficiency  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号