Get the App
SLTechnology News&Howtos  ›  Development  › 

Is JavaScript a server-side development language?

Shulou Source: shulou.com Published: 2022-06-03 07:40:46 11月15日 Update

This article mainly shows you "JavaScript is not a server-side development language", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "is JavaScript a server-side development language" this article?

No, JavaScript is a client-side scripting language, it does not need the support of the server, it is an interpreted scripting language, mainly applied on the client side; but through some frameworks can let JavaScript run on the server side, such as node.js, can be based on Node.js technology for server-side programming.

The operating environment of this tutorial: windows7 system, javascript1.8.5 version, Dell G3 computer.

JavaScript is a relatively secure, object-oriented, interpretive programming language based on object and event-driven. Specifically, it is a client scripting language. Running depends on supported browsers.

JavaScript is mainly used as a client-side scripting language to run on the user's browser without the support of the server.

Features:

1) looseness: variables do not need an explicit type

2) object attribute: the object can map the attribute name to any attribute value

3) inheritance mechanism: based on prototype

Composition:

1) Core (ECMAScript)

2) document object Model (DOM:Document Object Model): API (Application programming Interface) for HTML and XML depicts a hierarchical tree of nodes, and developers add, remove, and modify parts of the page, which is a truly cross-platform and language-neutral way to express and manipulate page tags.

D: Web page documents loaded by the entire web

O: things like Window objects that call properties and methods

M: the tree structure of web documents

3) browser object Model (BOM:Browser Object Model): provides many objects for accessing browser functions.

But there are frameworks that allow JavaScript to run on the server side, such as node.js. JavaScript carries out server-side programming based on Node.js technology.

These are all the contents of the article "is JavaScript a server-side development language?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Language service object server run development client client property browser script browse content document article support technology framework model program Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info MariaDB Shulou Technology Huawei Apple