What is Ajax

Source: Internet
Author: User
Tags http request
Ajax technology = Asynchronous JavaScript and XML
Ajax is an abbreviation for asynchronous JavaScript and XML.

Ajax is not a new programming language, but just a new technology to create better, faster, more interactive Web applications.

Ajax uses JavaScript to send and receive data between the network browser and the Web server.

It is learned that Ajax technology makes web pages more sensitive to the exchange of data on the Web server behind the scenes, rather than reload the entire Web page every time the user changes.

Ajax technology is based on open standards
Ajax technology is based on the following open standards:

of JavaScript
of XML
The HTML
The CSS
Use the definition of AJAX technology in open standards and support all major browsers. The browser of the AJAX application is peacefully established. (Cross-platform, cross-browser technology)




Ajax is a better Internet application
Web applications have many benefits for desktop applications:

They can reach a broad audience.
They are easier to install and support
They are more likely to develop
However, the application of the Internet is not always a "rich country" and a user-friendly traditional desktop application.

With Ajax technology, Internet applications can be rich (smaller, faster, and easier to use).




You can start using AJAX today
What is new to study.

Ajax is based on open standards. These standards have been developed for many years.

Most existing Web applications can be rewritten to take advantage of Ajax technologies instead of traditional HTML forms.




Ajax use of XML and HTTP requests
Traditional Web applications will submit Web servers for input (using HTML forms). Processing data on a Web server, it will return a new page to the user.

As the server returns to a new Web page, each time the user submits the input, traditional network applications usually run slowly, and often inconvenient.

With Ajax technology, Web applications can send and retrieve data without having to reload the entire Web page. This is done by sending HTTP requests to the server (behind the scenes) and by modifying the data that the server returns when using JavaScript with only the parts of the page.

XML is a commonly used format that receives server data, although it can be used in any form, including plain text.

You will learn how to do this in future chapters of this tutorial.

PHP and Ajax Technology
There's no such thing as an AJAX server.

Ajax technology is a technology that is running in your browser. It uses asynchronous data transfer (HTTP request) between the browser and the Web server, allowing the Web page to request bits of information from the server rather than the entire page.

Ajax technology is an independent Web server software for Web browser technology.

However, in this tutorial, we will focus more on practical examples of running PHP on the server and on how to reduce AJAX works.

To read more about how Ajax works, please visit our Ajax tutorial.
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.