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): 15927/ 25
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

User Comments

Title: Learn About it   
Name: Php Developer
Date: 2010-06-28 2:01:24 AM
Comment:
This is a nice article, Its using to learn something about it.. Thanks Babita Baliarsingha..,

Do you have a good job.

Thanks a lot..!
Title: nice article   
Name: rupesh
Date: 2008-07-30 2:15:20 AM
Comment:
nicely explained article babita..just keep it up






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


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-23 12:53:29 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search