摘要
在Web信息系统的开发过程中,将Web多线程技术和Ajax技术有机结合起来,提出了一种异步编程模式,有效地解决同步编程模式会出现开销大且费时的程序段阻塞当前进程,以及在客户端无法实时读取服务器端进程状态信息的问题.在开发"在线图书管理信息系统"中多次使用了异步编程模式,并经过一年的使用证明,该方法是可靠和行之有效的.
During the development of Web Information System,the Multithread Technology and Ajax Technology were combined,and the mode of asynchronous programming was put forth,and which can solve the problem that client part can not real-time read the processing information of the server part effectively.Based on the application to "the on-line books management information systems" for a year,it was proved that the mode is reliable and effective.
出处
《海南大学学报(自然科学版)》
CAS
2012年第1期36-40,47,共6页
Natural Science Journal of Hainan University
关键词
异步编程模式
同步编程模式
AJAX
多线程
mode of asynchronous programming
mode of synchronous programming
Ajax
multithread