AJAX, jqueryajax
What Is AJAX?
AJAX is a Web page development technology used to create webpage interactions. It uses HTML + CSS web page layout for presentation and js dom for Dynamic Display and interaction, use JS to bind and process all data.
Differences between AJAX synchronous and asynchronous
Synchronization: the script will stay and wait for the server to reply, and then execute.
Asynchronous: the script allows the page to continue and process possible replies.
How AJAX works:
The working principle of AJAX is equivalent to adding an intermediate layer between the user and the server, so that user operations and server responses are asynchronous. Not all user requests are submitted to the server, for example, some data verification and data processing are handed over to the AJAX engine, the AJAX engine submits requests to the server only when it is determined that new data needs to be read from the server.
Advantages of AJAX:
AJAX has many advantages, such:
1. One of its biggest advantages is that you can directly communicate with the server without refreshing the page and give the user a special experience.
2. His HTML-based standardization is widely supported and can be directly used without installing any plug-ins.
3. Further promote the separation of pages and data.
Disadvantages of AJAX:
Although AJAX has many advantages and brings a good user experience, we cannot ignore the disadvantages of AJAX. For example:
1. AJAX has relatively weak support for search engines.
2. AJAX does not support mobile phone devices very well. For example, when we open a webpage using AJAX in a mobile browser, It is not supported now.
I am talking about AJAX today and hope you can support it.