Answer the question
In order to leave comments, you need to log in
Node.js as PHP replacement?
I am engaged in front-end development and I would like to delve a little into the back-end, but I don’t want to be torn into 2 completely different programming languages.
So I would like to know. Can NodeJS replace PHP in back-end development, or is it still used for more specific tasks?
Answer the question
In order to leave comments, you need to log in
I will say even more - it was created for this.
NodeJS is good for everyone. An understandable concise language (javascript), suitable as a web server, a bunch of goodies like asynchrony, threads, etc.
Minus one - none of the virtual hosting does not support it.
Please, buy a VPS.
The node is good for tasks tied to the event model. For tasks with sequential execution, it is better NOT to take a node.
PHP is good for web tasks that do not require stateful storage (or with external storage for sessions for example) the language is ideal.
A node cannot be a replacement for PHP, and PHP cannot be a replacement for a node. They are designed for different tasks.
If I were you, I would think to whom you can sell your knowledge with this node.js
Node.js, I would not consider it as an alternative to php in the real world. He has his own small niche for a narrow range of tasks. Which, by the way, Go successfully covers with interest and even more.
Working with Noda will allow you to grow as a professional very quickly, to develop quickly. The node fires PHP absolutely everywhere.
Can NodeJS replace PHP in back-end development, or is it still used for more specific tasks?Can not, only for specific tasks.
If you know JS and don't want to learn php from scratch - learn a node.
I myself write mainly in PHP, but sometimes I do something on the node, I quite like it, but I don’t want to completely switch yet, only where sockets are needed.
there are just a lot of ready-made developments in php, both our own and third-party ready-made libraries, for the next few years there is no way without it.
in any case, I recommend that you at least start with a node, you won’t lose anything.
I strongly advise vibed.org asynchronous model, extremely high performance, convenient syntax, and most importantly, you will get binaries at the output, which you can simply take and run without wasting time setting up the environment.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question