Home  >  Article  >  Web Front-end  >  what is ajax

what is ajax

青灯夜游
青灯夜游Original
2022-01-13 17:41:0010338browse

Ajax's full name is "Asynchronous Javascript And XML", which means "Asynchronous JavaScript and XML" in Chinese. It is a technology for creating fast dynamic web pages. It is a technology that can be used to create fast dynamic web pages without reloading the entire web page. Technology that can update parts of web pages.

what is ajax

The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.

What is ajax

Ajax is Asynchronous Javascript And XML (asynchronous JavaScript and XML).

ajax is not a new programming language, but a new way of using existing standards. ajax is the art of exchanging data with the server and updating parts of a web page without reloading the entire page.

ajax is a technology that can update parts of a web page without reloading the entire web page.

ajax is a technology used to create fast dynamic web pages. By exchanging small amounts of data with the server in the background. Ajax allows web pages to be updated asynchronously. This means that parts of a web page can be updated without reloading the entire page. If traditional web pages (which do not use ajax) need to update content, the entire web page must be reloaded.

Ajax applications use web browsers that support the above technologies as the running platform. These browsers currently include: Mozilla, Firefox, Internet Explorer, Opera, Konqueror and Safari. But Opera does not support XSL format objects, nor does it support XSLT.

The prospect of ajax is very optimistic, it can improve system performance and optimize the user interface. AJAX's existing direct framework, AjaxPro, can introduce the AjaxPro.2.dll file and directly call the methods of the background page in the front page JS. But this framework conflicts with FORM validation. In addition, Microsoft has also introduced AJAX components. You need to add the AjaxControlToolkit.dll file so that relevant controls can appear in the control list.

Advantages of ajax:

1. The biggest point is that the page does not refresh, and the user experience is very good.

2. Use asynchronous mode to communicate with the server, with faster response capability.

3. Some of the work previously burdened by the server can be transferred to the client, using the idle capacity of the client to process it, reducing the burden on the server and bandwidth, and saving space and broadband rental costs. And to reduce the burden on the server, the principle of ajax is to "fetch data on demand", which can minimize the burden on the server caused by redundant requests and responses.

4. Based on standardized and widely supported technology, there is no need to download plug-ins or small programs.

5. Ajax can make Internet applications smaller, faster, and more friendly.

Disadvantages of ajax:

1. Ajax does not support the browser back button.

2. Security issues AJAX exposes the details of interaction with the server.

3. The support for search engines is relatively weak.

4. Destroyed the exception mechanism of the program.

5. It is not easy to debug.

[Related tutorial recommendations: AJAX video tutorial]

The above is the detailed content of what is ajax. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn