Php or node.js which is good?

labs8vivek

BANNED
Joined
Oct 16, 2012
Messages
165
Reaction score
22
I am learning and working on php from many years but nowadays node.js also gaining some value i have also read many times that node.js is much better than php as node.js have non blocking mode chromes v8 engine and no sql database
What do you guys thing should i keep with php or moved to node.js or do you think is there any chance that in near future wordpress and facebook ll moved to node.js
 
Why do you need to move? Can't you learn node.js and keep using both PHP and Node.js ?

I doubt wordpress or facebook would move to node.js. Facebook already moved to HHVM, and I suppose wordpress already supports it.
 
You should learn node.js together with PHP, PHP have future. Most of websites online have a backend of PHP, so you should not drop php.
 
I really want to focus on one language and if node.js is future than why not to just with it.I have seen that myspace is moved to node.js .i never heard HHVM
 
I really want to focus on one language and if node.js is future than why not to just with it.I have seen that myspace is moved to node.js .i never heard HHVM
Why would you want to focus on just one language? That's just pointless. If you've been working with PHP for many years, learning Node.JS should not be a problem for you. I would suggest not to leave PHP, but just learn both. Good luck!
 
Definitely stay with PHP. I do not really see a future for node.js ;-)
 
Ok so stay with php learn node.js if you have extra time.
I have also created a forum website based on nodebb i ll think to change it to a php based forum later as i really dont have extra time
 
thanks m8 you just open for me one new world by just one keyword
 
I really want to focus on one language and if node.js is future than why not to just with it.I have seen that myspace is moved to node.js .i never heard HHVM

If you only want to learn one language, then Javascript is it. It is the only one you can realistically use on both the server and the client.

That said, learning both Javascript and PHP is not that hard. Both have a long future in web programming.
 
PHP is superior. PHP has many backers and is patched often with many news features - stay with PHP if you want overall Apache compatibility and stability.
 
Please see blog.mailchimp.com/ewww-you-use-php/

Don't drink the Kool-Aid when it comes to new programming fads, they're almost always short lived. I could go on for hours talking about why non-blocking i/o in node.js is a terrible idea but instead I'll tell you a story.

I know a guy who has used PHP for years. I used to be a language snob until we both started a project 2 days apart. His project was quite a bit more complex than my own, and he still managed to get his site into production before I had decided on a framework to use. PHP is great, don't let the language hipsters make you business decisions for you, they'll run you into the ground.

Good luck, OP!
 
You can't compare PHP and NodeJS, both have their own advantage/disadvantage and can be used for different kind of things.

So... learn both to get the maximum result :)
 
Hi

In my opinion learning new thing never harms.

Indeed you should keep updating yourself with new scope.


Thanks

Mark
 
Back
Top