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

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.

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.

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.

overclock351
creator
23M

that’s cool. thanks

@federico3
13M

Urgh!

General Programming Discussion
!programming

    A general programming discussion community.

    Rules:

    1. Be civil.

    Other programming communities:

    • /c/rust
    • /c/python
    • /c/powershell
    • /c/haskell
    • /c/fpcomplete
    • /c/cpp
    • /c/c_programming
    • /c/julia
    • 0 users online
    • 3 users / day
    • 9 users / week
    • 27 users / month
    • 189 users / 6 months
    • 2376 subscribers
    • 628 Posts
    • 814 Comments
    • Modlog