Node.j s | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Node.j s

why do I need node.js?

8th Jul 2018, 12:14 PM
Stas Kuznetsov
Stas Kuznetsov - avatar
2 Answers
+ 6
Hello, Stas Kuznetsov ! Node.js shows itself brilliantly in real-time web applications using push technology in web sockets. After more than 20 years of the existence of the paradigm of "web applications without state storage based on the request-response connection without remembering the state", we finally have real-time web applications with bi-directional connections in which the communication can be initiated by the client or the server, which encourages they can freely exchange data. This approach contrasts sharply with the traditional web response paradigm, in which the client always initiates the connection. In addition, it is based on an open web-based stack (HTML, CSS and JS) running on standard port 80. https://www.sololearn.com/learn/7893/?ref=app
8th Jul 2018, 12:18 PM
Alexander Sokolov
Alexander Sokolov - avatar
0
Basically, because it is a server-side language. This means it can save and modify stuff on the host computer. For example, users could fill out a form and then you, the host, could read their responses. Other coding languages can do this, but node.js is often convenient for websites already written significantly in JS.
8th Jul 2018, 10:29 PM
James
James - avatar