1 / 4

XMLHttpRequest (XHR)

XMLHttpRequest (XHR). an API available to web browser scripting languages such as JavaScript. used to send HTTP or HTTPS requests to a web server and load the server response data back into the script. any textual data may be received from the server, not just XML. (JSON, HTML, plain text)

pillan
Download Presentation

XMLHttpRequest (XHR)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XMLHttpRequest (XHR) an API available to web browser scripting languages such as JavaScript. used to send HTTP or HTTPS requests to a web server and load the server response data back into the script. any textual data may be received from the server, not just XML. (JSON, HTML, plain text) Data from the response can be used to alter the current document in the browser window without loading a new web page. (important in the Ajax web development technique) (Ajax is used to implement responsive and dynamic web applications) subject to the browser's same-origin policy: for security reasons, requests will only succeed if they are made to the same server that served the original web page.

  2. postMessage Web Messaging or cross-document messaging, is an API introduced in the WHATWG HTML5 draft specification. allows documents to communicate with one another across different origins, or source domains. Prior to HTML5, web browsers disallowed cross-site scripting, to protect against security attacks. This practice barred communication between non-hostile pages as well, making document interaction of any kind difficult. Cross-document messaging allows scripts to interact across these boundaries, while providing a rudimentary level of security. Using the Messaging API's postMessagemethod, plain text messages can be sent from one domain to another

  3. HTTPreferer HTTP header field that identifies the address of the webpage that linked to the resource being requested. By checking the referer, the new webpage can see where the request originated. When a user clicks a hyperlink in a web browser, the browser sends a request to the server holding the destination webpage. The request includes the referer field, which indicates the last page the user was on (the one where they clicked the link). Referer logging is used to allow websites and web servers to identify where people are visiting them from, for promotional or statistical purposes.

  4. WebKit Layout engine software component for rendering web pages in web browsers. Used in Apple's Safari, previously used in Google's Chrome. Used as the basis for Amazon Kindle e-book reader, the default browser in Android, BlackBerry 10, and Tizen. Trident engine used by Internet Explorer Gecko engine used by Firefox

More Related