+ 3

Nodejs vs Php. which one do you think is better?

20th Nov 2016, 4:04 AM
Ruchi
Ruchi - avatar
4 Respuestas
+ 3
Now come with PHP and nodejs. Nodejs is not a language, but a server side implementation of JavaScript. Although I support nodejs. Because it is fastest server side scripting language. You can run in both server as well as client side as simply JavaScript(I am not saying that you can run nodejs as client side but because it is a JavaScript that means server to client interaction become easier). Where as PHP only support server side. To use server client interaction it uses ajax. Nodejs work in socket and in PHP you can do the same socket programing. But nodejs is new and PHP have 20 years of experience. There are a lot of user from PHP side and my favorite language is php. But it is just a beginning
20th Nov 2016, 5:09 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 1
it depends on what you are building if its a online game Nodejs will be helpful if its a online forum PHP, sometimes you will need them both Nodejs js is great for handling live communication with the server PHP comes in handy when dealing with data bases and file system and executing large operations on it . I don't think that one is better than the other its just a question of the better tool for the job
20th Nov 2016, 5:22 AM
S1M0
S1M0 - avatar
+ 1
when tht question was in my mind i found article about Django , maybe you'll intrest n have fun with Django
20th Nov 2016, 8:36 PM
Nima Karimi
Nima Karimi - avatar
0
I prefer Node.js There are a lot of advantages. Like it doesn't cache memory, it's faster... For big data's you can combine it with MongoDB.
20th Nov 2016, 9:43 AM
Elias Papachristos
Elias Papachristos - avatar