1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Php or node.js which is good?

Discussion in 'PHP & Perl' started by labs8vivek, Jan 19, 2015.

  1. labs8vivek

    labs8vivek BANNED BANNED

    Joined:
    Oct 16, 2012
    Messages:
    166
    Likes Received:
    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
     
  2. DarkPixel

    DarkPixel Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2011
    Messages:
    1,348
    Likes Received:
    1,252
    Location:
    ↓↓↓↓
    Home Page:
    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.
     
  3. SYKing

    SYKing Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 22, 2010
    Messages:
    2,321
    Likes Received:
    370
    Occupation:
    Student
    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.
     
  4. labs8vivek

    labs8vivek BANNED BANNED

    Joined:
    Oct 16, 2012
    Messages:
    166
    Likes Received:
    22
    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
     
  5. uncommonbg

    uncommonbg Regular Member

    Joined:
    Jul 15, 2014
    Messages:
    233
    Likes Received:
    40
    Location:
    Neverland
    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!
     
  6. BlueZero

    BlueZero Power Member

    Joined:
    Jul 6, 2011
    Messages:
    506
    Likes Received:
    261
    Occupation:
    Webdeveloper, Project Manager
    Location:
    Byte in the Net
    Home Page:
    Definitely stay with PHP. I do not really see a future for node.js ;-)
     
  7. labs8vivek

    labs8vivek BANNED BANNED

    Joined:
    Oct 16, 2012
    Messages:
    166
    Likes Received:
    22
    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
     
  8. tvm77

    tvm77 Jr. VIP Jr. VIP

    Joined:
    Nov 14, 2013
    Messages:
    177
    Likes Received:
    72
    Home Page:
    Just stay with php, php will be around forever and if you want to update some web scripts they would probably be in php
     
  9. rumbis

    rumbis Newbie

    Joined:
    Jul 8, 2012
    Messages:
    17
    Likes Received:
    0
    thanks m8 you just open for me one new world by just one keyword
     
  10. vayacondios

    vayacondios Newbie

    Joined:
    Mar 3, 2015
    Messages:
    30
    Likes Received:
    5
    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.
     
  11. papercut

    papercut Junior Member

    Joined:
    Feb 22, 2015
    Messages:
    135
    Likes Received:
    7
    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.
     
  12. BlackCatHat

    BlackCatHat Newbie

    Joined:
    Jun 22, 2014
    Messages:
    2
    Likes Received:
    1
    Location:
    California
    Learn both,they're pretty similar..
     
  13. aleksandr

    aleksandr Newbie

    Joined:
    Feb 11, 2014
    Messages:
    12
    Likes Received:
    6
    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!
     
  14. AdludumAndre

    AdludumAndre Registered Member

    Joined:
    Mar 21, 2015
    Messages:
    51
    Likes Received:
    8
    Occupation:
    CTO & Co-Founder of Adludum.com
    Location:
    Germany
    Home Page:
    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 :)
     
  15. markstandish73

    markstandish73 Newbie

    Joined:
    Aug 13, 2015
    Messages:
    41
    Likes Received:
    1
    Hi

    In my opinion learning new thing never harms.

    Indeed you should keep updating yourself with new scope.


    Thanks

    Mark