摘 要: 有刷新分页需要回传整个页面,用户体验效果差。原生AJAX实现无刷新分页,难度高,代码复杂,且 有浏览器兼容和不便解析JSON数据问题。为了解决不足,提出使用JQuery实现无刷新分页。首先分析了有刷新和无刷 新的工作原理,然后结合多关键字组合搜索,阐述分页的核心实现思路,同时利用JSON提升网络传输效率和简化数据 解析,利用数据库端物理分页提高分页性能。实践表明,研究具有较好的实用价值。 |
关键词: JQuery;多关键字;无刷新;物理分页;JSON |
中图分类号: TP311
文献标识码: A
|
基金项目: 本文系2017年度江苏省高等学校大学生创新创业训练计划项目(创新类项目)的研究成果(项目编号:201713112016Y). |
|
Implementation of the Non-Refreshing Paging Technique Based on the JQuery Multi-Keyword Combination |
SUN Renpeng,LIU Fuguo
|
( Institute of Computing & Software, Nanjing College of Information Technology, Nanjing 210023, China)
|
Abstract: 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 browser compatibility and inconvenience for parsing JSON data.In order to solve the problems,the paper proposes to achieve non-refreshing paging through JQuery.The operating principles of refreshing and non-refreshing are analyzed in the first place,and then the core implementation thoughts of paging are explained with the multi-keyword combination search.By adopting JSON,the network transmission efficiency is enhanced and the data analysis is simplified.The paging performance is improved through physical paging on the database.Practice has proved the high practical value of the scheme. |
Keywords: JQuery;multi-keyword;non-refreshing;physical paging;JSON |