AJAX
Here we have an AJAX play area where we can show you the benefits of an AJAX enabled
website.
AJAX or Asynchronous Javascript and XML is a web mechanism for essentially removing
the horrible refreshing of a page when the user interacts with it. To
demonstrate this we have 2 identical data tables below.
AJAX Table has a normal ASP.NET 2.0
GridView control with sorting enabled and an AJAX enabled version of the same data. Click
on a column header to change the sorting and watch the refreshing of the page.
One draw back of AJAX is that it can be rendered useless if the browser has Javascript
disabled. But, this also breaks the ASP.NET control aswell. To
fix this we can intelligently detect the use of Javascript and handle the grid accordingly. Try
disabling Javascript in your browser to see the affect it has on the ASP.NET and
AJAX controls.
YUI
YUI is the Yahoo!
UI Library. It is a library of Javascript utilities and web controls
that enable the user to build rich user interfaces for web browsing.
Yui Data Table has a normal
ASP.NET 2.0 GridView control with paging enabled and an YUI AJAX enabled version
of the same data.
This CodeConsults Ltd website uses some AJAX coupled with screen scraping to deliver
real-time information to the user in terms of the current exchange rate, the current
time in the 3 major time-zones in Australia and the current weather in all the cities. The
first 2 pieces of information are scrapped and cached daily from remote sources, whilst the
weather is scrapped hourly. All three though use the same technique of
obtaining the remote information and displaying it on screen. If you
would like some more information, please Contact Us...