Prev | Current Page 109 | Next

Rob Allen, Nick Lo, and Steven Brown

"Zend Framework in Action"

So, let??™s look at each component technology
in turn.
Asynchronous
In order for an Ajax application to be an Ajax application, it needs to talk with the server without a page
refresh. This is known as asynchronous data exchange and is generally performed using the web browser??™s
Licensed to Menshu You
Please post comments or corrections to the Author Online forum at
http://www.manning-sandbox.com/forum.jspa?forumID=329
XMLHttpRequest object. A hidden iframe element can also be used. The XMLHttpRequest object is
essentially a mini web browser built into the web browser that can be used by JavaScript without interrupting
the user. Thus it is ideal for Ajax applications.
JavaScript
The key component in Ajax technologies is JavaScript and the browser??™s Document Object Model (DOM) to
allow for manipulation of the webpage using scripts. JavaScript is a full blown programming language in its
own right and has been implemented in mainstream browsers since 1995. The DOM is a standardized way of
representing the elements of a web page as a tree of objects that can be manipulated by JavaScript. Within
Ajax applications, this is the means by which the application dynamically changes the webpage to show new
information without the server??™s sending new data.


Pages:
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
Kalkulator kredytowy Wczasy nad morzem uchwyt lcd zrębki usługi remontowe łódź