Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
I am for JavaScript.
On https://nodejs.org/en/ you can do everything like on php. But the application works on other principles.
Briefly.
Nodejs launched the application, hung up handlers for requests and it will work until it crashes or we force it to close. This allows you to drive data between requests through the application's memory, it is easy to organize work with web sockets.
Classic php out of the box will run on each request for a "new application" and process this request. That is, we cannot, for example, store data in the application's memory from one request and use it in another. Of course, there are things like reactphp.org, but why use them when there is nodejs, I personally don’t understand.
Why is JS more serious than PHP? What can JS do that PHP can't? If you can't answer this question (clearly, indistinctly, at least somehow), then you don't need JS at all.
Good sir. I will not even delve into your knowledge. Just asking, where are you going to store the data and how will you process it on the server?
The northern part is still needed. And if you do not need traffic from search engines, then you can completely on js
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question