Home >Backend Development >PHP Problem >Does xml belong to php or js?
xml does not belong to php or js; xml generally refers to extensible markup language, which is a subset of standard universal markup language and can be used to mark data and define data types. The source language defined by the markup language; PHP is a scripting language executed on the server side; JS is a lightweight, interpreted or just-in-time compiled programming language with function priority.
The operating environment of this tutorial: Windows 7 system, PHP version 8.1, Dell G3 computer.
xml belongs to php or js?
xml does not belong to php or js.
xml introduction:
xml (xml) generally refers to Extensible Markup Language
Extensible Markup Language (Extensible Markup Language, XML), standard A subset of universal markup language that can be used to mark data and define data types. It is a source language that allows users to define their own markup language. XML is a standard universal markup language. It has the advantages of good scalability, separation of content and form, strict grammatical requirements, and good value preservation.
In electronic computers, tags refer to information symbols that computers can understand. Through such tags, computers can process various information such as articles, etc. It can be used to mark data and define data types. It is a source language that allows users to define their own markup language. It is ideally suited for World Wide Web transport, providing a unified approach to describing and exchanging structured data independent of applications or vendors. It is a cross-platform, content-dependent technology in the Internet environment, and it is also an effective tool for processing distributed structured information today. As early as 1998, W3C released the XML1.0 specification, using it to simplify the transmission of document information on the Internet.
#php introduction:
PHP (PHP: Hypertext Preprocessor) is a "hypertext preprocessor". It is a scripting language executed on the server side, especially suitable for Web Developed and can be embedded in HTML. PHP syntax learned the C language, absorbed the characteristics of multiple languages of Java and Perl to develop its own unique syntax, and continued to improve itself based on their strengths, such as Java's object-oriented programming. The main goal of the language was originally created to make Developers quickly write high-quality web sites. PHP supports both object-oriented and process-oriented development, and is very flexible in use.
js introduction:
JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled programming language with function priority. Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is based on prototype programming, a multi-paradigm dynamic scripting language, and supports object-oriented, imperative, declarative, and functional programming paradigm.
JavaScript was first designed and implemented on the Netscape Navigator browser in 1995 by Brendan Eich of Netscape. Because Netscape was working with Sun, Netscape management wanted it to look like Java, hence the name JavaScript. But in fact its grammatical style is closer to Self and Scheme. [2]
The standard of JavaScript is ECMAScript. As of 2012, all browsers fully support ECMAScript 5.1, and older browsers support at least the ECMAScript 3 standard. On June 17, 2015, ECMA International released the sixth edition of ECMAScript, which is officially called ECMAScript 2015, but is often called ECMAScript 6 or ES2015.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of Does xml belong to php or js?. For more information, please follow other related articles on the PHP Chinese website!