About my understanding of ajax

Ajax stands for Asynchronous JavaScript and XML Chinese name is defined as Asynchronous JavaScript and XML. Ajax Web2.0 technology is the core of the collection is made by a variety of techniques, the use of Ajax technology without having to refresh the entire page, just for partial page updates, you can save network bandwidth and improve the loading speed of the page, thus reducing user wait time, improve the user experience.

  To put it bluntly, it is useless AJAX page, you point a button will refresh the page, although only the words on a new page and the current page is not the same, but you still have to wait for the page to refresh bored. After using AJAX, you click, and then his words on the page to change the page itself do not brush.
  AJAX is just a technology, not some specific things. Different browsers have their own realization of AJAX components. After our traditional web application, when we submit a form request to the server, the server receives the request and returns a new page to the browser, this practice wastes a lot of bandwidth, since both new page before we send the request and obtain the many html code is the same, since every user interaction is required to send a request to the server, access time depends on the return time of the application server. And we use is different Ajax, Ajax to retrieve only some of the necessary data, it uses SOAP, XML or Web Service interface support json, we use JavaScript on the client side processing response from the server, so between the client and the server data exchange is reduced, and the user requests get accelerated. Ajax is a combination of technologies, including Asynchronous JavaScript us for technical data, is XMLHttpRequest and xml Dom and core technical performance as well as XHTML and CSSAjax is XMLHttpRequest is the technical support asynchronous request, you can send a request to the server, and does not block the user for the first time cited in the IE browser, to make our network applications more powerful. In fact, XMLHttpRequest is a subset of the syntax of JavaScript, it is a set of API, support for sending GET and POST requests. The API is the core of Ajax development, it is one of the core web technologies now. With these techniques, we disorderly reload the page can send and retrieve data to complete the interaction.

Guess you like

Origin www.cnblogs.com/bichen-01/p/11612932.html
Recommended