Implementing Ajax using PHP
page 3 of 3
by Babita Baliarsingha
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 3923/ 54
Article Contents:

Conclusion

Using AJAX from PHP is very easy. All you need is the JavaScript functions for sending the XMLHttpRequest and then handle the Http Response. It will simplify development since you place all your AJAX related code in a single JavaScript file and reference it from anywhere you need AJAX.

There is another way of getting the same result from PHP without using the XMLHttpRequest object. I personally do not like the concept because it is missing one of the main ingredients of Asynchronous JavaScript and XML (AJAX), XML. This concept is good for the old browsers with no supports for XMLHttpRequest object, but as all the newer versions are supporting XMLHttpRequest object you can use AJAX for the common browsers.

By

Babita Baliarsingha


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 7 and 2 and type the answer here:

User Comments

Title: nice article   
Name: rupesh
Date: 7/30/2008 2:15:20 AM
Comment:
nicely explained article babita..just keep it up






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2009 ASPAlliance.com  |  Page Processed at 11/8/2009 4:12:59 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search