The document discusses Rational Mobile Suite's model for mobile application development. It has three layers: the UI layer uses Dojo Mobile, the logic layer uses Ajax, and the data access layer uses storage mechanisms like LocalStorage, IndexedDB, and WebSQL. It provides details on Dojo Mobile widgets and components for building the UI, making Ajax calls and REST API calls in the logic layer, and using various offline storage options in the data access layer. It also discusses performance techniques like minimizing reflows and using JSON over XML for data exchange.
A revamped send() method has been overridden to accept any of the following types: DOMString, Document, FormData, Blob, File, ArrayBuffer. var xhr = new XMLHttpRequest(); xhr.open('GET', '/path/to/image.png', true); xhr.responseType = 'arraybuffer'; xhr.onload = function(e) { var uInt8Array = new Uint8Array ( this.response ); // this.response == uInt8Array.buffer // var byte3 = uInt8Array[4]; // byte at offset 4 ... }; If you want to work directly with a Blob and/or don't need to manipulate any of the file's bytes, use xhr.responseType='blob':