TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Software World > Programming

Notices

Reply
 
Thread Tools Display Modes
Old 30-05-2006, 11:29 PM   #1
Regular Member (100+)
 
Join Date: May 2006
Posts: 225
Thanks: 0
Thanked 27 Times in 20 Posts
Rep Power: 5 sree has a spectacular aura aboutsree has a spectacular aura about
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.
sree is offline   Reply With Quote
Old 05-06-2006, 03:16 AM   #2
Junior Member (25+)
 
gary4gar's Avatar
 
Join Date: May 2006
Age: 23
Posts: 43
Thanks: 0
Thanked 14 Times in 2 Posts
Rep Power: 0 gary4gar is an unknown quantity at this point
good posts
gary4gar is offline   Reply With Quote
Old 05-06-2006, 05:13 AM   #3
Regular Member (100+)
 
Join Date: May 2006
Posts: 225
Thanks: 0
Thanked 27 Times in 20 Posts
Rep Power: 5 sree has a spectacular aura aboutsree has a spectacular aura about
thanx !!!!
sree is offline   Reply With Quote
Old 29-06-2006, 02:36 AM   #4
Junior Member (25+)
 
nitinjavakid's Avatar
 
Join Date: May 2006
Posts: 57
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 0 nitinjavakid is an unknown quantity at this point
Talking

Splendid post, I wanna learn Ajax now
__________________
Microsoft people
nitinjavakid is offline   Reply With Quote
Old 04-07-2006, 02:33 AM   #5
Junior Member (25+)
 
delivi's Avatar
 
Join Date: Mar 2006
Location: India
Age: 23
Posts: 31
Thanks: 9
Thanked 1 Time in 1 Post
Rep Power: 0 delivi is an unknown quantity at this point
Send a message via Yahoo to delivi Send a message via Skype™ to delivi
AJAX is a great technology, it is now neing widely used for Web 2 based Web Applications. Cool info keep it up.....
delivi is offline   Reply With Quote
Reply

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

Google
 


All times are GMT +5.5. The time now is 07:24 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2008, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional