JSON在Ajax数据交换中的应用研究  被引量:78

Application of JSON in Ajax data exchange

在线阅读下载全文

作  者:屈展[1] 李婵[1] 

机构地区:[1]西安石油大学计算机学院,陕西西安710065

出  处:《西安石油大学学报(自然科学版)》2011年第1期95-98,122,共4页Journal of Xi’an Shiyou University(Natural Science Edition)

基  金:国家自然科学基金项目"远程钻井网上会战智能应用系统理论与方法的研究"(编号: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应用系统的数据传输效率,减少客户端的请求响应时间.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 shorten the data transmission time but also optimize the data transmission efficiency in the Ajax Web application system.An 'Ajax + JSON + jQuery' transmission scheme can put forward,and cases prove that this scheme can improve the data transmission efficiency of Web application system and reduce the response time of client requests.

关 键 词:数据交换 传输格式 AJAX JQUERY JSON 传输效率 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象