I have heard people call nodejs “serverside js”. Is that true? Could it replace php? thanks

  • Mobocratic Egoist
    link
    fedilink
    83 years ago

    Yes, Node JS is server side JavaScript. You can use it wherever you would use PHP. Probably both will continue to coexist for a while.

    • @necrophcodr
      link
      23 years ago

      Well not entirely. You can use both on servers for delivering content, but shared hosting servers might not support more than PHP and maybe ASP.NET. The shared server provider probably publishes what systems are supported.

      • Mobocratic Egoist
        link
        fedilink
        53 years ago

        Correct. I was only speaking from a technical perspective in the purpose of the language being similar, but PHP is certainly easier for any shared hosting.