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

Mobocratic Egoist
link
86M

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
26M

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
56M

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
link
26M

that’s cool. thanks

@federico3
link
16M

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
    • 12 users / day
    • 12 users / week
    • 21 users / month
    • 134 users / 6 months
    • 2496 subscribers
    • 669 Posts
    • 871 Comments
    • Modlog