Ajax - What Is It and How It Works
bali web programming
Married & Honeymoon
bali web programming
Bali Golf Course
bali web programming
Digital SLR Cameras
bali web programming
Quadrooms Online Reservations
bali web programming
Sari House Lovina
bali web programming
Bignicks Pizza
bali web programming
Health and Welleness
bali web programming
Bali Smart Driver
bali web programming
Healthy and Wellness News
bali web programming
Info Technology
bali web programming
Arati Restaurant
bali web programming
Bali Sunrise Tour
bali web programming
Bali on Tour
bali web programming
Villa Luxury Bali
bali web programming
Jimbaran villas
bali web programming
Bali Nice Tour
bali web programming
Bali Prestige
bali web programming
Bali Parana Tours
bali web programming
bali land villa for sale
  • bali web programmer
  • bali web maintenance service
  • bali web design service
  • bali web developer

Web Developer

We use a combination of proven web technologies, including PHP, Apache, MySQL to name a few, for the creation of todays most dynamic and powerful web applications. Read...

Web Maintenance

In the current economic environment, companies, organizations and institutions alike are seeking ways to reduce costs, and add value to their marketing and communications strategies. Read...

Web Design Service

If you are looking for a web design to create a visually appealing, professional looking website for you, then you've come to the right place. We can help you build just the perfect website you desire and deserve. Read...

Ajax - What Is It and How It Works

Ajax stands for Asyncronous JavaScript and XML and is known for making web applications function as fast (or faster) than desktop applications.  Let's talk about what a typical web application looks like.  For instance, a Google search:

  • you enter some text in the search box.
  • you then click the search button.
  • the page is refreshed and you get results backs.
  • this entire process could take a few seconds to minutes depending on how much data you've requested, the load on the webserver, your internet connection and so on.
  • in short, it is a pretty quick process, but it can be quicker...

So how can AJAX improve something like a Google search.  Using the previous example above:

  • you enter the same text into the search box, however now your results are returned instantly as you're typing!

That's the power of AJAX, instant data is returned without having to click submit and waiting for the screen to refresh.  So, that's the end result of an AJAX enabled website, instant data is returned based on the letters you are typing (as in our AJAX Google search example). 

Technically speaking, this is how AJAX is working in the background:

  • A webpage executes some JavaScript that can grab data from a web server as it's needed.
  • If more data is needed JavaScript invokes an object called XMLHttpRequest.  This object transparently and instantly retrieves data then presents it without having to refresh the browser.
  • The data that's returned is usually XML.  This XML can easily be formatted using HTML and CSS.
  • Keep in mind that those 3 steps above happen instantly!  If you want a real world example of AJAX in action just start to do a Google search.  Those results that drop down as you're typing are the results of Ajax!

    I write about a lot of subjects.  Currently I'm working on 2 new websites.  The first website reviews handheld portable tv units and the second takes a look at theTomTom XL 325 GPS unit.

    Write a comment

    • Required fields are marked with *.