No, JavaScript is a client-side scripting language. It does not require server support. It is an interpreted scripting language and is mainly used on the client side. However, JavaScript can be run on the server side through some frameworks, such as node. .js, which can be used for server-side programming based on Node.js technology.
The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.
JavaScriptis an object- and event-driven and relatively safe, object-oriented, interpreted programming language. Specifically, it is a client-side script. language. Operation depends on supported browsers.
JavaScript is mainly used as a client-side scripting language to run on the user's browser and does not require server support. Features: 1) Looseness: variables do not need to have a clear type 2) Object attributes: objects can map attribute names to arbitrary attribute values 3) Inheritance mechanism: based on prototype Composition: 1) Core (ECMAScript) 2) Document Object Model (DOM: Document Object Model): for The API (application programming interface) of HTML and XML depicts a hierarchical node tree, allowing developers to add, remove, and modify a certain part of the page. It is a truly cross-platform, language-neutral way to express and operate page markup. D: The web page document loaded by the entire web O: Something similar to the Window object, which can call properties and methods M: The tree structure of the web page document 3) Browser Object Model (BOM: Browser Object Model): Provides many objects for accessing browser functions.But JavaScript can be run on the server side through some frameworks, such as node.js. JavaScript is based on Node.js technology for server-side programming.
[Recommended learning:javascript advanced tutorial]
The above is the detailed content of Is JavaScript a server-side development language?. For more information, please follow other related articles on the PHP Chinese website!