45,000 Jobs - Get an Interview Call,  Post Your Resume Here
SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




AJAX Day -3

        

Reply
 
LinkBack Thread Tools Display Modes
Old 29-04-06, 10:18 PM   #1 (permalink)
Technical GURU
 
BINNY's Avatar
 
Join Date: Feb 2006
Location: India
Posts: 804
Blog Entries: 2
Thanks: 4
Thanked 35 Times in 24 Posts
Rep Power: 17 BINNY is a glorious beacon of light BINNY is a glorious beacon of light BINNY is a glorious beacon of light BINNY is a glorious beacon of light BINNY is a glorious beacon of light BINNY is a glorious beacon of light

HI,



The term Ajax, which stands for “Asynchronous JavaScript and XML”, was first coined by Jesse James Garrett in his somewhat infamous article, » Ajax: A New Approach to Web Applications.



So let’s take each of those parts in isolation.


Ajax is:

Asynchronous

This means that when you send a
request, you wait for the response to come back, but are free to do
other things while you wait. The response probably won’t come back
immediately, so you set up a function that will wait for it to be sent by the server, and react to it once that happens.

JavaScript

JavaScript
is used to make a request to the server. Once the response is returned
by the server, you will generally use some more JavaScript to modify
the current page’s document object model in some way to show the user that the submission went through successfully.

XML
The
data that you receive back from the server will often be packaged up as
a snippet of XML, so that it can be easily processed with JavaScript.
This data can be anything you want, and as long as you want.




There’s nothing really new about what is happening here. We’re
requesting a file (which will often be a server-side script, coded in
something like PHP), and receiving a page as the response. This is how
the web works already — the only difference is that now we can make
these requests from JavaScript.

Edited by: BINNY

__________________
BINNY
BINNY is offline Offline   Reply With Quote
Reply

Tags
ajax , day


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +6.5. The time now is 11:59 AM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0