开发者

how to implement timeline (real-time - like twitter's) using tornado?

开发者 https://www.devze.com 2023-02-17 15:52 出处:网络
guys, I want to implement a website, which need the function of timelin开发者_如何学运维e (just like twitter\'s). Now I\'m using Tornado as the web framework. How can I get it? Thank you!The real time

guys, I want to implement a website, which need the function of timelin开发者_如何学运维e (just like twitter's). Now I'm using Tornado as the web framework. How can I get it? Thank you!


The real time element of the twitter "timeline" is almost certainly a load of AJAX which periodically goes back to the server, requests any new posts and then updates the page with the results.

Google has many suggestions on how to update a page using AJAX. Get reading :-)

0

精彩评论

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

关注公众号