+ 3
Node.j s
why do I need node.js?
2 Antworten
+ 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
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.