Node js or php, what is best for hosting speed etc

What do u recommand to use php or node js for programming a web forum

Generally, Node.JS will be faster, I think. But the way you code matters, of course, too.

And I have moved this to #coding-help.

I’m not certain, but I’m pretty sure you should not use php server-side stuff because of security or something - I’ll ping @RiversideRocks because he’s the king of php and will be able to tell you for certain.

I’m coding a web forum with Node.JS and @RiversideRocks is coding one in PHP. I’ve done a fair share of coding in PHP as well as Node and both with accounts, databases, logins, etc. and it’s definitely easier to code in Node.JS with Mongoose/Passport, at least in my opinion. But my advice is to go with what floats your boat. Test them both out. There’s no harm starting it in both and choosing which one you like better.

Good luck @David34! :slight_smile:
Eddie

6 Likes