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

    • necrophcodr
      link
      fedilink
      arrow-up
      2
      ·
      4 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@lemmy.161.social
        link
        fedilink
        arrow-up
        5
        ·
        4 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.