摘要
Ajax技术作为Web2.0时代的重要产物,已经越来越多的应用在当今的互联网产品中。通过它实现无刷新更新页面的方式,使用户能够方便快捷的访问应用,增加了互动性,降低了服务器负担,节省了带宽。本文针对移动端Web应用中倒计时的问题展开研究,在介绍了Ajax的关键技术,分析了引入Ajax技术的站点相对于传统Web站点的优势。利用Ajax技术和差值补偿的方法达到了无刷新同步本地时间,以保证多终端系统计时的同步性。最后通过一个典型的应用:"定时抢票系统"的实现进一步证明了Ajax技术在时间同步方面的优势。
As an important technology which comes from Web2. 0 era,Ajax has been used more and more in today's Internet products. By implementing the way without refreshing updates page,Ajax brings to the users of good experience at the same time reduces the burden of the server and saves bandwidth. The paper concentrates on the problem of countdown in mobile Web application and introduces the key technology of Ajax and analyzes the advantages of the Web site which uses the Ajax technology compared with the traditional Web site. By using the method of Ajax technology and the compensation of time difference in order to update local time without refresh the web page. Through this we can ensure the synchronism of multi terminal system. The design of rob ticket system proves the advantage of Ajax technology further.
出处
《中国传媒大学学报(自然科学版)》
2015年第6期50-55,共6页
Journal of Communication University of China:Science and Technology