![]() |
|
|
#1 |
|
Regular Member (100+)
Join Date: May 2006
Posts: 225
Thanks: 0
Thanked 27 Times in 20 Posts
Rep Power: 5
![]() ![]() |
AJAX - A brief intro ...
AJAX is an acronym for Asynchronous JavaScript And XML.
AJAX is not a programming language, but simply a development technique for creating interactive web applications. AJAX uses JavaScript to send and receive data between a web browser and a web server. The AJAX technique makes web pages more responsive by exchanging data with a server behind the scenes, instead of reloading an entire web page each time a user makes a change. With AJAX, web applications can be faster, more interactive, and more user friendly. AJAX uses an XMLHTTPRequest object to send data to a web server, and XML is commonly used as the format for receiving server data, although any format, including plain text, can be used It is just a new technique to biuld web based applications which doesnt take much time for server-client communcation. AJAX technique makes Internet applications smaller, faster and more user friendly. AJAX is a web browser technology independent of web server software. AJAX is based on the following open standards: * JavaScript * XML * HTML * CSS The open standards used in AJAX are well defined, and supported by all major browsers. AJAX applications are browser and platform independent. (Cross-Platform, Cross-Browser technology) With AJAX, Internet applications can be made richer (smaller, faster, and easier to use). A traditional web application will submit input (using an HTML form) to a web server. After the web server has processed the data, it will return a completely new web page to the user. Because the server returns a new web page each time the user submits input, traditional web applications often run slowly and tend to be less user friendly. With AJAX, web applications can send and retrieve data without reloading the whole web page. This is done by sending HTTP Requests to the server, and by modifying only parts of the web page using JavaScript. The preferred way to communicate with the server is by sending data as XML (but other methods can be used). 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. Unfortunately Ajax is supported slightly differently in IE than it is Safari, Opera and Mozilla-based browsers like Firefox. This leaves us with two possible routes: using code branching to send the right code to each browser based on which model they support, or using a JavaScript library that wraps up the Ajax code into a single object, and means you don’t have to worry about browser incompatibilities. hope this material may give a brief introduction on ajax 2 the newbies .... Last edited by Strider; 29-06-2006 at 01:13 PM. |
|
|
|
|
|
#2 |
|
Junior Member (25+)
Join Date: May 2006
Age: 23
Posts: 43
Thanks: 0
Thanked 14 Times in 2 Posts
Rep Power: 0
![]() |
good posts
|
|
|
|
|
|
#3 |
|
Regular Member (100+)
Join Date: May 2006
Posts: 225
Thanks: 0
Thanked 27 Times in 20 Posts
Rep Power: 5
![]() ![]() |
thanx !!!!
|
|
|
|
|
|
#4 |
|
Junior Member (25+)
Join Date: May 2006
Posts: 57
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 0
![]() |
Splendid post, I wanna learn Ajax now
![]()
__________________
Microsoft people
|
|
|
|
|
|
#5 |
|
Junior Member (25+)
|
AJAX is a great technology, it is now neing widely used for Web 2 based Web Applications. Cool info keep it up.....
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| jackthe cat Intro | jackthe cat | Introduce Yourself! | 0 | 12-04-2007 05:46 AM |
| INTRO | LEATHER | Introduce Yourself! | 1 | 28-03-2007 08:12 PM |
| INTRO | BadCompany | Introduce Yourself! | 1 | 13-01-2007 08:04 AM |
| New Intro | billyrush25 | Introduce Yourself! | 2 | 09-01-2007 03:04 PM |
| intro | prit4u007 | Introduce Yourself! | 3 | 08-01-2007 05:15 PM |