phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


AJAX : Understanding AJAX

Tag: ajax   Category: PHP Application
post: 21 Dec 2007 read: 1,797


AJAX Tutorial: Nowdays, you can find AJAX topic everywhere. Yes, this method bring more advantage in internet word. Some people say AJAX is not new technology. It just a method. Other people say it is a technology. In this post, we talk about AJAX in preview.

AJAX is an acronym for Asynchronous JavaScript and XML. For me, it mean simple "empowered JavaScript". What that mean? Mmm.. before talk what AJAX exactly, do you ever see (or taste) Yahoo Mail! Beta Version? Or Gmail (not HTML version)? At that web page, without reload full page, we can jump between pages.

It is a technique use JavaScript as client side to make background server calls and retrieve additional data as needed. It update certain portions of page without causing full reloads. This is little example web that apply AJAX:

  1. Google Suggest, check it out at http://www.google.com/webhp?complete=1
  2. Gmail, http://www.gmail.com
  3. Google Maps, http://maps.google.com
I think AJAX is smart web application. More responsive web page. I remember it is like 'flash'! Yeah, we can build smart application like flash page. But, at AJAX, you don't need install any extra modules. AJAX runs all modern web browsers, such as Mozilla Firefox, Internet Explorer, or Opera. Following the anatomy of AJAX:
  1. JavaScript, is essential of AJAX. We use for Client Side function and use Document Object Model (DOM) to manipulate parts of HTML page.
  2. The XMLHttpRequest object enable JavaScript to access server asynchronously.
  3. Server side technology to handle the request that come from the JavaScript Client, example PHP.


Series this article:
AJAX : Understanding AJAX
AJAX: Shortcut to AJAX
AJAX: Loading Web Content from Links
AJAX: Loading Preloader Animation Image

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
mod_rewrite - Part 1: create your "fantasy" URL

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


615
posting