SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 39 | Next

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"

Google Local uses AJAX extensively.
This background downloading, using the XMLHttpRequest object, makes using Google
Local such a smooth and rewarding experience. Remember, nothing is new here; it??™s just
that having the XMLHttpRequest object built into the browser that can do this asynchronously
makes it possible to develop applications like this.
?– Note For full details on how to develop in AJAX, check out Foundations of AJAX(Apress, 2005).
CHAPTER 1 ?–  INTRODUCING AJAX 9
You will be looking at AJAX from a high level in this book and delving more deeply
into how Microsoft ASP.NET AJAX will allow you to quickly and easily build AJAX-enabled
applications.
Using the XMLHttpRequest Object
As mentioned, the XMLHttpRequest object is the heart of AJAX. This object sends requests
to the server and processes the responses from it. In versions of Internet Explorer prior
to IE7, it is implemented using ActiveX, whereas in other browsers, such as Mozilla
Firefox, Safari, Opera, and Internet Explorer 7, it is a native JavaScript object. Unfortunately,
because of these differences, you need to write JavaScript code that inspects the
browser type and creates an instance of it using the correct technology.


Pages:
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51