Answer the question
In order to leave comments, you need to log in
How to choose between PHP and node.js?
Hello. A few years ago, I learned how to make websites based on some video tutorials (it seems that the same Popov). The lessons were not the best, so you know what I learned there. As a result, I made a simple site on which articles are pulled out using php from MySQL. It seems that there was no other php code there, although the basics of this language were also given. Now there is a rather large project (our own), where there will be many different functions (there is a social network, and a chat, and articles, and so on). The question arose: php or node.js? I also learned the usual JS. On the one hand, I want to use the newest and most ambitious (node.js), on the other hand, there are a lot of ready-made recipes in php, there is less information on node.js. Please tell me what to choose. If node.js, then tell me sources with high-quality "recipes", preferably in Russian.
Answer the question
In order to leave comments, you need to log in
If you are doing a project for the sake of learning something new, then use what you like. And if you want to create a business and make money, take php as it is faster to write code and the salaries of programmers are less.
And about chats and other real-time interaction with users where node.js is actively changing, you can use the php + comet server bundle, which will work well and fast enough.
As a comet server, you can use servers installed on the comet vps such as dklab_realplexor or something else, or web services such as comet-server.ruor similar. I would recommend you with your amount of knowledge to use the comet web service if you do not have an urgent desire to understand the intricacies of the process of working with vps.
Please tell me what to choose.These tools have different tasks, and they almost do not overlap.
A major project is not taken without knowing the tool.
If you knew the tool well enough, then you would not have a question.
If both tools are well suited to the task, choose the one with which you are more familiar.
I want to use the newest and most ambitious (node.js)
So-so argument.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question