Application of Ajax technology in mine attendance system
-
摘要: 针对传统的Web考勤系统使用submit方式进行数据交互导致的响应时间长、用户体验差等问题,提出了采用Ajax技术设计矿用考勤系统的方案,分析了Ajax技术原理,介绍了基于Ajax技术的矿用考勤系统实现过程。Ajax技术通过XmlHttpEngineRequest对象向服务器发出异步请求,然后从服务器获得数据,再通过JavaScript操作DOM来更新页面,避免了用户因提交form而长时间等待服务器应答的情况。实际应用表明,采用Ajax技术设计的矿用考勤系统查询效率高,响应速度快,数据统计准确,用户体验效果好。Abstract: In order to solve problems of long response time and poor user experience of traditional Web attendance system caused by using submit means for data exchange, the paper proposed a scheme of using Ajax technology to design mine attendance system, analyzed principle of Ajax technology, and introduced realization of mine attendance system based on Ajax technology. Ajax technology sends asynchronous request to server by use of XmlHttpEngineRequest object, then gets data from the server, and renews page by operating DOM through JavaScript, so as to avoid situation that users wait for delayed server response caused by submitting form. The application showed that the system has high inquiry efficiency, quick respond speed, correct data statistics and perfect user experience.
-
Key words:
- mine attendance system /
- attendance management /
- Web application /
- Ajax technology
点击查看大图
计量
- 文章访问数: 38
- HTML全文浏览量: 4
- PDF下载量: 4
- 被引次数: 0