Home > Backend Development > PHP Tutorial > 实现微信墙效能得原理

实现微信墙效能得原理

WBOY
Release: 2016-06-13 11:48:38
Original
837 people have browsed it

实现微信墙功能得原理
小弟有点不是很理解,望大家解答。
大家把东西发来以后通过模拟登录获取相关信息,然后东西在数据库里面了,怎么在网页显示这些东西。
是让网页一秒钟刷新一次吗?
------解决方案--------------------
可用通过ajax定时刷新或者事件触发刷新。
也可以使用HTML5新定义的web socket接口与服务器进行长连接,进行上下行即时通信。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template