Web Sockets in Amfphp for data synchronization for all clients

I am googling since many days, and trying to figure out, how to synchronize (datagrid)data among clients using push method in amfphp.

I found that sockets can do this for me. But I dont find any such example, where I can study and implement in my code.

I am using Flex, Amfphp, Mysql.

Mysql has a database with table containing employee details

Flex has a datagrid, filled with data retrieved from mysql.

Amfphp is used for remoting the data(retrieving and updating etc).

But the data among users is not in sync. The data should update in clients browser, whenever there is an change in database. It may be achieved using sockets(I think so, I have no knowledge regarding this).

I hope this question is simple to understand. Any help is appreciated.

链接地址: http://www.djcxy.com/p/44772.html

上一篇: 龙卷风的Websockets

下一篇: Amfphp中的Web套接字用于所有客户端的数据同步