开发者

Application in which I need Auto-update just like Gmail inbox,calendar Face-Book etc

开发者 https://www.devze.com 2023-01-01 09:23 出处:网络
I have made application in which I have开发者_运维知识库 kept calendar. Now I need that if admin changes his calendar and if it is affected to user and if that user is currently looking that calendar

I have made application in which I have开发者_运维知识库 kept calendar. Now I need that if admin changes his calendar and if it is affected to user and if that user is currently looking that calendar then whatever changes Admin has done that should reflect to user without refreshing the page, just like when email comes to Gmail then without refreshing we can see the inbox marked as unread...

So to implement that what should I do?

I am using J-query for user interface and Python as back-end?


go to $.ajax()


Python Comet Server this thread contains info on a comet like server for python, this would give you the real time browser data push I think you are referring to. I believe gmail does it by using an iframe hack and a setinterval check using some javascript ajax call.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号