Home > headlines > body text

Ajax technology, one of PHP's closest friends

ringa_lee
Release: 2018-01-09 11:28:57
Original
1908 people have browsed it

AJAX is undoubtedly one of the hottest Web development technologies that have been hyped in the past few years. Of course, this credit cannot be separated from Google. Ajax is a Web application development method that uses client-side scripts to exchange data with a Web server. Web pages can be dynamically updated without interrupting the interaction process for re-cutting. Using Ajax, users can create direct, highly available, richer, and more dynamic Web user interfaces that are close to native desktop applications. ,

Asynchronous JavaScript and XML (AJAX) is not a new technology, but uses several existing technologies - including Cascading Style Sheets (CSS), JavaScript, XHTML, XML and Extensible Style Language Transformations ( XSLT), develop Web application software that looks and operates like desktop software.

The execution principle of AJAX is that an Ajax interaction starts with a JavaScript object called XMLHttpRequest. As the name implies, it allows a client-side script to perform HTTP requests and will parse an XML-formatted server response. The first step in Ajax processing is to create an XMLHttpRequest instance. Use the HTTP method (GET or POST) to handle the request and set the target URL to the XMLHttpRequest object.

When you send an HTTP request, you don't want the browser to hang and wait for a response from the server. Instead, you want to continue responding to the user's interface interactions through the page and process the server responses once they actually arrive. To accomplish this, you can register a callback function with XMLHttpRequest and dispatch the XMLHttpRequest request asynchronously. Control is immediately returned to the browser, and when the server response arrives, the callback function will be called.

The editor here recommends several ajax technology video tutorials worth learning to take your programming to the next level!

1. AJAX basic video tutorial

Ajax technology, one of PHPs closest friends

## Course Introduction : AJAX stands for "Asynchronous Javascript And XML" (Asynchronous JavaScript and XML), which refers to a web development technology for creating interactive web applications. AJAX = Asynchronous JavaScript and XML (a subset of Standard Universal Markup Language). AJAX is a technology for creating fast, dynamic web pages. AJAX enables web pages to update asynchronously by exchanging small amounts of data with the server in the background. This means that parts of a web page can be updated without reloading the entire page. Traditional web pages (not using AJAX) must reload the entire web page if content needs to be updated.

2.

Ajax Full Contact

Ajax technology, one of PHPs closest friends

## Course Introduction:

This course uses a simple example to gradually introduce the related concepts, principles, implementation methods and application methods of Ajax, including the concept of HTTP requests, simple syntax of PHP, JSON data format, and the native Ajax And jQuery implementation, cross-domain and other knowledge points. 3.

Ajax implements smart prompts in the search box

Ajax technology, one of PHPs closest friends## Course Introduction:

I believe everyone is familiar with the search box, and searches on various websites almost every day. Have you noticed that in many search functions, when you enter content, a prompt will appear below. This type of prompt is called a smart prompt in the search box. This course will introduce how to use Servlet and Ajax to implement it. Mainly introduces the implementation principles and the front and backend implementation process of the code.

4.

PHP+AJAX Real-time Table Editing Video Tutorial

Ajax technology, one of PHPs closest friends## Course Introduction: "Video Tutorial on Real-time Editing of Forms with PHP+AJAX" introduces the basic introduction of the knowledge used and the display of the works, and then introduces the specific operation methods

5. php Intermediate Tutorial Ajax Technology

Course Introduction: AJAX is "Asynchronous Javascript And "XML" (asynchronous JavaScript and XML) refers to a web development technology for creating interactive web applications. It is not a new programming language, but a new method of using existing standards. The biggest advantage is that it does not reload In the case of the entire page, you can exchange data with the server and update part of the web page content. No browser plug-ins are required, but the user needs to allow JavaScript to be executed on the browser. "Ajax Technology in PHP Intermediate Tutorial" will help you quickly understand this knowledge!


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!