SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
This PDF will be accessible from your Account page after purchase and requires PDF reading software, such as Acrobat® Reader®.
The eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
Consuming the Sent Data with XML and JSON (Digital Short Cut)
Joshua Eichorn
ISBN 0132337932
There are two main ways that AJAX programmers can process the data received from an XMLHttpRequest object or one of the alternative fallback methods. One is known as the document-centric approach and involves parsing a Document Object Model (DOM) document. The other involves remote scripting using a subset of JavaScript called JavaScript Object Notation (JSON), which is the literal syntax for JavaScript objects. This Short Cut is a detailed examination of both techniques.
Consuming the Sent Data with XML and JSON
Document-Centric Approaches
3.1.1 Adding New HTML Content to a Page with AJAX
3.1.2 Consuming XML Using DOM
3.1.3 Consuming XML Using XLST
Remote Scripting
3.2.1 Basic RPC
3.2.2 SOAP and XML-RPC
3.2.3 Custom XML
3.2.4 JavaScript and JSON
How to Decide on a Request Type
Summary