如何创建实时AJAX?

A good example of what I want is a chat system, where I send a message to someone and he can instantly see my message and vice versa.

So I want the best way to track if in the database there is a new answer for me if yes then show it with AJAX.

Example Websites:

  1. Twitter
  2. Friend Feed
查看全部
weixin_33712987
weixin_33712987
2010/07/10 17:01
  • twitter
  • database
  • ajax
  • 点赞
  • 收藏
  • 回答
    私信

3个回复