Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Exercises

16.3 Describe the differences between client/server interactions in traditional web applications and client/server interactions in Ajax web applications.

16.4 Consider the AddressBook application in Fig. 16.9. Describe how you could reimplement the type-ahead capability so that it could perform the search using data previously downloaded rather than making an asynchronous request to the server after every keystroke.

16.5 Describe each of the following terms in the context of Ajax:

a. type-ahead

b. edit-in-place

c. partial page update

d. asynchronous request

e. XMLHttpRequest

f. “raw” Ajax

g. callback function

h. same origin policy

i. Ajax libraries

j. RIA

[Note to Instructors and Students: Owing to security restrictions on using XMLHttpRequest, Ajax applications must be placed on a web server (even one on your local computer) to enable them to work correctly, and when they need to access other resources, those must reside on the same web server. Students: You’ll need to work closely with your instructors in order to understand your lab setup, so that you can run your solutions to the exercises (the examples are already posted on our web server), and in order to run many of the other server-side applications that you’ll learn later in the book.]


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial