Duke
Duke

Reputation: 36970

Any alternative way to populate real time content in webpage other than jQuery

Background: I have a webpage that lists latest 30 tweets from twitter. But every time I am calling jQuery ajax function to get the latest tweets. But this will be kinda overload to server and bandwidth issue I think.

I need an alternative solution for this . Is that possible with any other method

I am not sticking with jquery all the time, if php can do that ,great its enough. But how the client side will manage the refreshing the content

Upvotes: 0

Views: 143

Answers (1)

Wesley
Wesley

Reputation: 2264

Your question is not related to jQuery, jQuery is merely a client-side javascript library.

If you don't want to do ajax request all the time, look into Websockets and/or longpolling techniques. This is how, for example, facebook implements its chat.

Interesting page: Comet

Good luck!

Upvotes: 2

Related Questions