B
B
balandinvadim602019-02-14 17:39:36
JavaScript
balandinvadim60, 2019-02-14 17:39:36

On which side is the code processed - Node.js or javascript?

Good afternoon.
I recently started learning js.
I would like to clarify a few points.
JS is processed on the user's side, i.e. without using the power of the server on which the site is located.
If you make a site (web application) on node.js, then when a user enters the site and uses the service, the power will be taken from the server on which the site is located, and not the user's power.
Am I understanding everything correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
McBernar, 2019-02-14
@balandinvadim60

You are confusing warm with soft.
On the server, the node works if it is accessed from the site. For example, you can implement the API on a Node server and send requests from the site (that is, from the client) to the server, receive and process responses, and display the result.
But it’s not at all necessary to make an API on the Node, and in general it’s not necessary to make an API - you can sew up logic and views in MVC in the old fashioned way and make a project in pure PHP, and use JS only for some kind of sliders.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question