October 2011
Intermediate to advanced
352 pages
7h 58m
English
This chapter discusses how to add interactions to a page or web application that depends on server interaction. The chapter starts with classic AJAX (Asynchronous JavaScript and XML) calls in which the client initiates an asynchronous connection to the server and the server responds as quickly as possible. After that, the Channel API is introduced. Using the Channel API, a connection between the browser and the Google App Engine is kept open for a longer time, allowing the server to notify clients quickly when events occur. Both the client side and the server side of the Channel API are discussed.
Chapter 8, “Adding Static Interactions Using JavaScript,” explained ...
Read now
Unlock full access