开发者

Auto update using AJAX

I have developed an application using Ajax/PHP to automatically display MYSQL records. My worry is, I have set AJAX to always check mysql database every 10 seconds, from a bandwidth perspective, do I have any case to answer? If yes, what's the best solutio开发者_StackOverflown.


  • Comet ( Programming )
  • PHP jQuery AJAX Javascript Long Polling
  • JQuery PeriodicalUpdater (AJAX long polling/server polling)

also here is another responce about AJAX and Chat implementation that should treat pretty the same behaviours

  • https://stackoverflow.com/questions/5234336/advanced-jquery-ajax-books-or-tutorials-online/


this comet reference my lead you in the right direction http://en.wikipedia.org/wiki/Comet_%28programming%29

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜