We are building a website with has some functionality similar to bigdeal.com. We are not building an auction site or anything like that, but some sections of the website will be updating frequently given other users actions (similar to bidding on bigdeal.com). The page will be continually updated every time some user causes different events.
We were wondering if this can be done using just ajax, or if its necessary开发者_StackOverflow社区 something like smartfoxserver.com or pusher.com
thnks
It really depends on how essential the real-time aspect is. For example, for a chat website, push is essential for real-time communication. For a website where latency is less of a problem, you may wish to poll with AJAX every once in a while. As a real life example, Twitter.com at least used to show a few recent tweets on their home page. This was powered by AJAX, as it was not essential for everyone to see every recent tweet coming in as soon as it came in. For your purposes, it looks like AJAX will be alright.
精彩评论