Ajax Applications For Your Websites

nables you to write interactive applications whileAjax allows your internet page to respond to a user
reducing the amount of data interchanged betweenvery similarly to the way your local computer
the web browser and web server. This results indesktop environment would. In a well-developed
shorter processing times so you can give your userAjax-based site, when you click on a page object, it
the ultimate web experience.responds almost immediately. Any changes to the
AJAX. Asynchronous JavaScript and XML, if youpage happen there and then, without the page
must know what it stands for. Don't let that put youdisappearing and a new one replacing it. The result? A
off. Even if it is comprised of technical words and yetmuch more pleasant user experience. Once more,
another acronym, more importantly, what is it, andcomputers are becoming more interactive and
why do you need it?responsive.
Why to use Ajax?The concept can be a bit difficult to grasp initially, so
Mainly to build a fast, dynamic website, but also tohere's a simple example from the RealmSurfer
save resources.website to demonstrate the concept: Ajax example:
For improving sharing of resources, it is better to usesearch page. At first glance this looks like any other
the power of all the client computers rather than justsearch page. Notice that advanced search link
an unique server and network. Ajax allows tounderneath the search box? When you click it, notice
perform processing on client computer (in JavaScript)that you instantly get a whole lot more functionality
with data taken from the server.inserted into the page -- no page refresh. Click the
The processing of web page formerly was onlylink again and the process reverses itself.
server-side, using web services or PHP scripts, beforeThis is just a very simple example of the benefits of
the whole page was sent within the network.building Ajax functionality into your site. To get a look
But Ajax can selectively modify a part of a pageat some really powerful applications, have a look at a
displayed by the browser, and update it without thefew popular Ajax-enabled websites:
need to reload the whole document with all images,Flickr -- one of the first sites to popularise the Ajax
menus, etc...phenomenon, it's still one of the best ways to share
For example, fields of forms, choices of user, maypictures with your friends and family online. Yahoo
be processed and the result displayed immediatelywas quick to realise the potential, and purchased the
into the same page.company a while back.
Remember the internet up until recently? Virtually allProtopage -- create your own customised, interactive
web pages were lifeless objects, similar to pages in ahome page. From the moment you land on the site,
magazine, with no intelligence. In order to get ayou can move objects around the page as if they
response from a website, you would click a link orare windows on your desktop, and interact with
press a submit button, and your computer wouldthem just as easily.
send a message to the computer hosting the siteThere are plenty more Ajax-powered sites, and
that it needs to send you back the next page. A littleevery day a whole lot more become available. What
bit like turning to a new colourful but lifeless page inmakes this technology so special? Here are a few
your magazine.good contributers:
Sure, there were some really great new technologies* It uses relatively well established browser
that came along to make the internet moretechnology -- no plugins are needed, and most
interesting. Animated images, Flash animations, smallbrowsers these days are fully capable of supporting
embedded applications, and scripts downloaded withAjax-enhanced pages.
the page certainly made the pages a lot more* For the most part pages are still recognisable by
interesting. Yet, when compared to the highlysearch engines, meaning that unlike technologies like
responsive environment of your desktop computer, aFlash, search engines will still understand what your
web page really could not compete. Click anywhere inpage is about.
your local pc environment and you get an immediate* It's economical. Instead of downloading a whole
and logical, virtually instantaneous response from thepage when all you want to know is the weather, a
object you clicked, without your entire screenwell designed Ajax-based site will only download the
flashing blank and reappearing again from scratch. Doinformation you need, leaving everything else
the same on a web page until recently, and usually atperfectly intact.
best you would have to wait a few seconds for a* It's fast and responsive. Because much of the
completely new page to reappear, a newly turnedprogramming code that makes an Ajax-based page
page in your virtual magazine.so useful is downloaded onto your local computer,
Until Ajax. Technically Ajax is actually not a newmuch of your functionality is very fast and
technology, but a clever grouping of a few existingresponsive, the same as any locally installed program.
technologies. What has made Ajax a workable* It's non-proprietary technology. Ajax is a
solution is that most people have started usingcombination of established web standards. You will
browsers capable of supporting these technologies,never have to pay to use it, and neither will the
often without even realising that their browser wieldspeople who program it for you.
these dormant superpowers.