June 2013
Beginner
388 pages
10h 9m
English
CHAPTER 8
![]()
Back-End Interaction with Ajax and Node.js
You finally reached the chapter where I talk about Ajax. The good news is you can use Ajax to create really nice, slick interfaces, and you can extend JavaScript’s reach much further than the browser and the currently displayed document.
The not-so-good news is that Ajax depends on the XMLHTTPRequest object (or XHR for short) or its Microsoft equivalent, and that one has “HTTP” written all over it. What this means is that you cannot use any Ajax examples without a server. Furthermore, you need some basic knowledge of server-side scripting to use Ajax (unless you use one of the out-of-the-box ...
Read now
Unlock full access