What Is Ajax?

Source: Internet
Author: User

I am very happy to have you read the ajax instance tutorial I wrote, whether you are the first time or an old friend. I will present what I have learned so far here, and I am not stingy with it. What is ajax?

Important: ajax is not a language, but a combination of multiple technologies. ajax is just synonymous with these combinations.
There are a lot of tutorials on the Internet to explain ajax: Asynchronous JavaScript And XML Chinese is: Asynchronous JavaScript And XML
I think this kind of explanation is very general and will make it difficult for new users to understand. I want to add something to the above explanation. MyAjaxTell me about development experience.JavascriptCreateXMLHTTPRequest objectXmlhttp can be used for asynchronous request xml as the data transmission format between the client and the server. When the server returns the requested dataJavascriptTo analyze the returned xml, and finally use the dom document image model to display the data returned from these requests. This should be the most standard ajax method.

What is an ajax asynchronous request?? Generally speaking, when you send a server request, the current page will not flash or refresh. this request is quietly running at the rear. other operations on the current page are not affected before the request returns data,

AjaxIt is regarded as a rich client technology with good user experience, which means to reduce the occupation of server resources and increase the good user experience of the client. This does make every web developer and user feel excited.AjaxThe reason why web development has become more fashionable in the world!


Core of ajax

My personal point of view has not been discussed with anyone. :). Now everyone knowsAjax is a combination of multiple technologiesBut I think its core is xmlhttp
Why do we say this because xmlhttp implements asynchronous requests and transmission. javascript and dom only use this asynchronous function to change the content displayed on the page without refresh or reload.

What is xmlhttp

Xmlhttp is so important. What is xmlhttp? XmlHttp is an API interface that can transmit and receive XML and other data through http in JavaScript, Vbscript, Jscript, and other scripting languages.
Explanation from Msdn: xmlhttp provides the protocol for communication between the client and the http server. The client can use the xmlhttp object (MSXML2.XMLHTTP. 3.0) send a request to the http server and use the Microsoft XML document to process and respond to the image model Dom.
For more information about how to use xmlhttp, see the xmlhttp manual on the left. I can only tell you that if you know JavaScript, it takes 10 minutes to learn xmlhttp!  

 
How to Learn ajax technology

What is the foundation for learning ajax?I am very worried about telling you the truth. You should have a basic understanding of html, css, dom, javascript, and xml. Fortunately, not many of them can be skipped, the result is that your page is ugly and does not affect the function. heheh, don't worry. I have never learned html or css IN THE SYSTEM. If you don't understand it, just check the manual.
I must tell you seriously, 1: You should at least use the basic javascript syntax. 2: If you want to create desktop applications in a browser, you should be proficient in dom

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.