###
DOI:
计算机系统应用英文版:2012,21(12):17-21
本文二维码信息
码上扫一扫!
基于php 和服务器推技术的Web 即时聊天系统
(天津大学 管理与经济学部, 天津 300072)
Web Instant Messaging System Based on Server Push Technology and php
(Department of Management and Economics, Tianjin University, Tianjin 300072, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1716次   下载 4715
Received:April 17, 2012    Revised:May 18, 2012
中文摘要: 基于http 协议应用于Web 端, 实现一个浏览器无关的、便于移植的、高性能的Web 即时聊天系统. 系统使用服务器推技术中的ajax 长轮询模型构建http 通讯模型, 利用开源LAMP 架构搭建服务器端程序, 并使用XML 文件系统存储即时聊天内容, 前端使用javascript 的jquery 框架实现与浏览器无关的ajax 前端程序. 提供包括文本表情模式的聊天, 便于整合到社交类型的网站中. 项目实践表明, 基于php 和服务器推技术的Web 即时聊天系统稳定性高, 具有一定的使用价值.
中文关键词: Web  即时聊天  服务器推  php  ajax 长轮询
Abstract:Based on the http protocol used in the Web side, it realizes a not browser based, easy to transplant, highperformance 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 deviceindependent 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.
文章编号:     中图分类号:    文献标志码:
基金项目:国家科技支撑计划(2011BAH15B04)
引用文本:
王振兴,黄静.基于php 和服务器推技术的Web 即时聊天系统.计算机系统应用,2012,21(12):17-21
WANG Zhen-Xing,HUANG Jing.Web Instant Messaging System Based on Server Push Technology and php.COMPUTER SYSTEMS APPLICATIONS,2012,21(12):17-21