Is this something where you need help?
     
     
 
 
Ajax web development technique

Ajax stands for Asynchronous JavaScript and XML.

Example of Ajax : Google’s Maps, Google’s Gmail, or any live support system.

Brief : Ajax is the way for website pages to send and receive data from/to website on particular time interval. It doesn’t need end user’s attention and no need to wait for new page load or click on somewhere on webpage to get updated values. This is how it is called Asynchronous. Ajax increase the webpage's speed and usablity.

Browser Support : Internet Explore (IE) , Firefox, Opera, Safari

Ajax Uses:
  • XHTML/HTML and CSS
  • to exchange data from/to the website, Ajax uses an object called XMLHttpRequest. Sometime Ajax uses another object called IFrame for the same purpose.
Ajax’s Good characteristics
  • Generally user has to submit form and wait for few seconds to get response from the web server. This is the way the traditional web application behaves. Load data on user request- execute webpage event handlers and then execute functions to process the user request. Ajax has reduced such unwanted bandwidth consumption.
  • Without interfering rest pages and user effort to request for the updated data, Ajax pushes/pulls information to/from web server for the active webpage at intervals. Thus your website works in real-time.

Precaution:

  • Take care while you use Javascript: To should test the website in different browsers (or versions) to check its compatibility.
  • There may be delay due to network traffic or any other issue. In such scenario user never know that the current piece of data is updated or not. It is suggested to user some visual feedback to re-adjust the user’s eyesight.
XMLHttpRequest: It’s a sort of API which is used by several scripting languages like VBScript, JavaScript. It uses HTTP to manipulate XML data to/from web server.
XMLHttpRequest Method:
      open(method, URL, async, username, password)
      Send (put your content here)
      setRequestHeader (some label, value to http header)
      getResponseHeaders(write header name here)
      getAllResponseHeaders( )
      abort( )
XMLHttpRequest Properties:
      readyState i.e 0=not yet initialized, 1=open , 2=set, 3=receiving, 4=loaded
      onreadystatechange
      responseText
      responseXML
      status
      statusText

Last updated: 18-Jan-2007
Rate this article: Excellent   Very Good   Good   Satisfactory   Poor
Current rate 1      5

 
   

Application Programming: Ajax | ASP | ASP.Net | C-C++ | CFML | CGI perl | Flash | Java | PHP | Python | HTML | XML | W3C | CSS | ORACLE | MSSQL | Mysql | Internet  Computer Softwares:  Operation system | Open Source | Multimedia Graphics | Furniture Design | Construction Architecture | Antivirus Software | Mobile Software | Software Testing   Multimedia :  Media Player | Audio Video Streaming | Podcasting | itune | iPod | Webcam   Website Enhancement and Popularity :  (SEO) Search Engine Optimazation | Browser Compatiblity | HTML Structure | CSS   Secutiry :  Spam | Virus | Firewall | IPTable   File Types and Extensions :  Windows | Linux/Unix | Mac   Jobs and Companies : IT Jobs in ahmedabad | T Jobs in Mumbai | IT Jobs in Pune | IT Jobs in Bangalore | IT Jobs in Hydrabad | It Jobs in Chennai | International IT Jobs

© 2007 SASASearch - All Rights Reserved