摘要
基于http协议应用于Web端,实现一个浏览器无关的、便于移植的、高性能的Web即时聊天系统.系统使用服务器推技术中的ajax长轮询模型构建http通讯模型,利用开源LAMP架构搭建服务器端程序,并使用XML文件系统存储即时聊天内容,前端使用javascript的jquery框架实现与浏览器无关的ajax前端程序.提供包括文本表情模式的聊天,便于整合到社交类型的网站中.项目实践表明,基于php和服务器推技术的Web即时聊天系统稳定性高,具有一定的使用价值.
Based on the http protocol used in the Web side, it realizes a not browser based, easy to transplant, high- performance real-time web chat system. System uses the ajax long polling model of the server push technique to build the http communication, using the open source LAMP architecture to build server-side programs, and use the xml file system to store real-time chat content, the front using the javascript jquery framework to achieve and browse device- independent ajax front-end program. Text chat and expressions, and ease of integration into the sns type of site. Project practice shows that the web php-based server push model real time chat system stability, it has a certain value.
出处
《计算机系统应用》
2012年第12期17-21,共5页
Computer Systems & Applications
基金
国家科技支撑计划(2011BAH15B04)