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

  • necrophcodr@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 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
      ·
      3 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.