>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

Polling the server with Ajax - web ajax function page server object request articles

 
Registered tutorials: 501
Registered Users: 38304



Rating: 3 out of 2 votes cast


  
Category: Technique Introduction

Polling the server with Ajax

Digg this   Post to del.icio.us

Abstract: In this tutorial shows how to load a simple RSS 2.0 feed containing useful links into a Web page, update the list regularly using the setInterval command in JavaScript. Tutorial addresses the topic of multi-dimensional arrays in JavaScript

If you've been reading the series of articles about the Ajax approach to building Web applications, here's another! In this article, I'm going to show you how to poll the Web server at regular intervals with the XMLHttpRequest object. In other words, we'll use an Ajax approach to request information from the server and load it into a Web interface. Then we'll refresh the data regularly, so you can see updates.

If you haven't been following the articles, Ajax is a Web 2.0 approach to building Web applications. It allows you to load data from the server asynchronously by using JavaScript and the XMLHttpRequest object. Asynchronous means that the loading takes place in the background so that the user can carry on working with the Web application.

Read Full Tutorial...



Reviews:

Rate and Review This Site

2007-09-17 23:52:09
The link has been corrected. Thank you for your feedback.

2007-09-17 05:38:43
This is a dead link... just shows a log-in page on an external site.




Statistic Information About this Resource:


Total Hits: 271
Unique Hits: 227


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0.4 0.4 2.2 2.4 7.4 8.8
Current 0 0 2 2 0 0
Previous 0 0 5 5 13 13
Feb 27 1 1 4 4 12 14
Feb 26 0 0 1 1 14 16
Feb 25 0 0 0 0 4 4
Feb 24 0 0 3 4 4 4
Feb 23 1 1 0 0 7 9
Feb 22 0 0 5 6 8 10
Feb 21 0 0 0 0 5 9
Feb 20 2 2 2 2 7 9
Highest 3 5 8 9 23 26


Script Execution Time: 0.85787 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2