This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Does the browser have to be AJAX aware? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Does the browser have to be AJAX aware?" Watch "Does the browser have to be AJAX aware?" New topic
Author

Does the browser have to be AJAX aware?

Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 443
    
    1


My query is related to the AJAX framework. Do browsers have to be aware of the framework?

I have worked with ExtJs and while creating the XMLHttp object for making an asynchronous server call, the function that processes the response can be mentioned. Now when the response is obtained this function gets called, with a JSON object containing the response data as one of the parameters, where the update of the page elements is performed. Now once the response is obtained at the client it is up to the browser to make the call to the desired function. So I assume the client browser should be aware of this feature?

Another doubt is AJAX came with Web 2.0, I understand. So does this mean earlier versions of browsers would not be capable of performing an AJAX request/response cycle?

I would be very grateful if somebody could clarify my doubts.

Thanks,
Raj.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Raj Kamal wrote:Do browsers have to be aware of the framework?

No. Browsers know diddly about the frameworks. The browser does need to support XMLHttpRequest (or equivalent) in order for the frameworks to be able to use it, of course. All modern browsers that matter support this.

So I assume the client browser should be aware of this feature?

See above.

Another doubt is AJAX came with Web 2.0, I understand.

"Web 2.0" is just a buzz-word that has little meaning. It's not like it's a product or anything like that.

So does this mean earlier versions of browsers would not be capable of performing an AJAX request/response cycle?

Of course older browsers that pre-date the inception of XMLHttpRequest can't support Ajax.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does the browser have to be AJAX aware?
 
Similar Threads
web service client's frameworks handling of empty responces from web service
what will be next after AJAX ?
Determining properties of the browser screen
Using Java Objects in AJAX??
Need help with Auto Complete Script