DEV Community

Discussion on: Hi Brothers I am confused in To choose Nodejs or Php For Website BackEnd Please tell me

Collapse
 
raguay profile image
Richard Guay • Edited

It all depends on what type of server your using. If it’s a shared host, your mostly stuck with PHP. If it’s a virtual private server or your own, then whatever you like. Nodejs, Go, PHP, Python, Erlang, Java, Haskell, Prolog, etc. They all have their good points and bad points. It mostly depends on two things: what you already know and the application type.

I personally prefer Nodejs and Go for the backend, but that is what I know best. For a knowledge based system, I would go with Prolog. If it is a standard site or blog site, I would use Nodejs with Svelte Kit. There again, it’s depends on your needs and current expertise.

But, if it is just a blog or very simple side, then don’t use a backend but use a static site generator. That type of site can be ran from GitHub for free!