Home  >  Article  >  Web Front-end  >  What is the difference between ajax and javascript

What is the difference between ajax and javascript

coldplay.xixi
coldplay.xixiOriginal
2021-04-30 16:38:283324browse

The difference between ajax and javascript: 1. javaScript is a scripting language widely used in client-side web development. It is often used to add dynamic functions to HTML web pages; 2. AJAX is a web page that creates interactive web applications. Development Technology.

What is the difference between ajax and javascript

The operating environment of this tutorial: Windows 7 system, JavaScript version 1.8.5, DELL G3 computer.

The difference between ajax and javascript:

JavaScript

The abbreviation of javaScript is JS, which is widely used by customers A scripting language for end-end web development, it is often used to add dynamic functions to HTML web pages (the programs written by it can be embedded into HTML or XML pages and interpreted and executed directly in the browser).

Components:

Core (ECMAScript), Document Object Model (DOM), Browser Object Model (BOM)

Description:

Javascript is a new programming language born to meet the needs of dynamic web page production. It is now more and more widely used in Internet web page production.

The emergence of Javascript enables a real-time, dynamic, and interactive relationship between web pages and users, making web pages contain more active elements and more exciting content.

Javascript is short and concise, and is executed on the client machine, which greatly improves the browsing speed and interactive capabilities of web pages. At the same time, it is a simple programming language specifically tailored for making Web pages.

Ajax

AJAX is "Asynchronous JavaScript and XML" (asynchronous JavaScript and XML). AJAX is not an abbreviation, but a noun created by Jesse James Gaiiett. Refers to a web development technology for creating interactive web applications.

Composition:

Representation based on XHTML and CSS standards;

Use Document Object Model for dynamic display and interaction;

Use XML and XSLT for data Interaction and manipulation;

Use XML HttpRequest for asynchronous communication with the server;

Use JavaScript to bind everything.

Description:

Ajax is a combination of Java technology, XML, JavaScript and other programming technologies, which allows developers to build Web applications based on Java technology and breaks the management of page reloading.

Ajax technology uses asynchronous HTTP requests to transfer data between the Browser and the Web Server, so that the Browser only updates part of the web page content without reloading the entire web page.

Ajax is a Web application development method that uses client-side scripts to exchange data with the Web server. In this way, the Web page can be dynamically updated without interrupting the interaction process and re-editing it. Using Ajax, users can create direct, highly available, richer, and more dynamic Web user interfaces that are close to native desktop applications

Related free learning recommendations: javascript video tutorial

The above is the detailed content of What is the difference between ajax and javascript. 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