6
Tounai
8y

Node.js or PHP ?

Comments
  • 4
    both for different projects.....
  • 5
    Or both at the same time 😈
  • 2
    Nodejs (personally)

    But it depends what kind of thing/ problem you want to solve
  • 1
    For me it's like Node for non relative databases and mobile apps' backends, PHP for relative. There are many differences.
  • 1
    Depends on your needs. If it needs to run on a shared environment: PHP. If it needs to be asynchronous: Node. They both have pro's and con's.
  • 2
    Both enforce bad practices. In any case use a framework if the project is serious. :)
  • 2
    Node Js anytime
  • 1
    php for the beginner
    nodejs for the experienced
  • 1
    Depends on for what. There is no holy grail of languages. Rather you should ask different questions, like:

    How many concurrent users am I expecting to have? What kind of liberties do I have with my hosting solution? How much time are we able to spend working with a new technology?

    For what it's worth, Node done right is really good at concurrent requests for most projects, but your hosting solution should be a bit more flexible because when it goes big, you'll need to scale horizontally rather than vertically. Heroku, AWS, Digital Ocean, those types of places.
  • 1
    I have just started a Node.js class. Looks interesting so far
  • 1
    Node by far does anything PHP can, just better.
  • 0
    Questions like that trigger me :| can't just say X is better. Even knowing how horrible the language is, it has a huge following and lots of frameworks to make life easier.
Add Comment