Nodejs or PHP

notRuzzle

Newbie
Joined
Jun 22, 2017
Messages
7
Reaction score
1
Hi, which is better for cms projects or e-commerce website. NodeJs or PHP? I want to focus on those type of projects but I don't know what programming language/framework I should focus on.
 
Hi, which is better for cms projects or e-commerce website. NodeJs or PHP? I want to focus on those type of projects but I don't know what programming language/framework I should focus on.
I'd go with PHP, it's more popular. Most websites use it.
 
Use existing solutions instead of building your own if you want to grow as entrepreneur. or Learn python if you want to grow as a developer and looking for a job.
 
If you know nodejs, definitely use it. If you don't know it, php should work fine too.

Other options include django and flask; which are pretty awesome too.
 
Depends on your knowledge and servers. Servers are cheap today. But basic PHP is pretty hard because you have to know a lot of things, and need to spend a lot of time to make something useful, but you can use some framework like Laravel, symphony, zend...
 
Well if you are considering building it from scratch by your self then NodeJs, because if you are beginner that decided to build own cms with PHP this can end up with lots of security related bugs. Also this does not mean that you won't encounter any security issues with the JS. But best approach is to use already existing solutions
 
NodeJs has the advantage that as it uses Javascript you can leverage that learning for both server-side and browser-side code. With PHP, if you wanted to do browser-side code you would still need to learn Javascript.
 
Back
Top