摘要
有刷新分页需要回传整个页面,用户体验效果差。原生AJAX实现无刷新分页,难度高,代码复杂,且有浏览器兼容和不便解析JSON数据问题。为了解决不足,提出使用JQuery实现无刷新分页。首先分析了有刷新和无刷新的工作原理,然后结合多关键字组合搜索,阐述分页的核心实现思路,同时利用JSON提升网络传输效率和简化数据解析,利用数据库端物理分页提高分页性能。实践表明,研究具有较好的实用价值。
With refreshing paging techniques,the entire page needs to be posted back and the user experience is poor.Native AJAX implements non-refreshing paging with many problems,like high difficulty,complexity code,poor browsercompatibility and inconvenience for parsing JSON data.In order to solve the problems,the paper proposes to achievenon-refreshing paging through JQuery.The operating principles of refreshing and non-refreshing are analyzed in the firstplace,and then the core implementation thoughts of paging are explained with the multi-keyword combination search.Byadopting JSON,the network transmission efficiency is enhanced and the data analysis is simplified.The paging performanceis improved through physical paging on the database.Practice has proved the high practical value of the scheme.
作者
孙仁鹏
刘富国
SUN Renpeng;LIU Fuguo(Institute of Computing & Software ,Nanjing College of Information Technology ,Nanjing 210023,China)
出处
《软件工程》
2017年第8期14-16,共3页
Software Engineering
基金
2017年度江苏省高等学校大学生创新创业训练计划项目(创新类项目)的研究成果(项目编号:201713112016Y)