ajax is not a programming language, but refers to a set of browser-side web development technologies that combine multiple technologies; the full English name of AJAX is "Asynchronous JavaScript and XML", which means asynchronous JavaScript and XML technology.
The operating environment of this article: Windows7 system, ECMAScript 6, DELL G3 computer
What programming language is ajax?
ajax is not a programming language, it is a technology.
AJAX stands for "Asynchronous JavaScript and XML" (asynchronous JavaScript and XML technology), which refers to a set of browser-side web development technologies that combine multiple technologies. The concept of Ajax was proposed by Jesse James Jarrett.
Traditional web applications allow the user to fill in a form, and when the form is submitted, a request is sent to the web server. The server receives and processes the incoming form, and then sends back a new web page, but this wastes a lot of bandwidth because most of the HTML code in the two pages is often the same. Since each application communication requires sending a request to the server, the application's response time depends on the server's response time. This results in a UI that is much slower to respond than native apps.
Different from this, AJAX applications can only send and retrieve necessary data to the server, and use JavaScript on the client to process the response from the server. Because less data is exchanged between the server and the browser, the server responds faster. At the same time, a lot of processing work can be completed on the client machine that makes the request, so the load on the Web server is also reduced.
Similar to DHTML or LAMP, AJAX does not refer to a single technology, but organically utilizes a series of related technologies. Although its name contains XML, the actual data format can be replaced by JSON to further reduce the amount of data. The client and server do not need to be asynchronous. Some "derivative/composite" technologies based on AJAX are also emerging, such as AFLAX.
Recommended learning: "AJAX Video Tutorial"
The above is the detailed content of What programming language is ajax?. For more information, please follow other related articles on the PHP Chinese website!