Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

rakan omar
rakan omar
15,066 Points

node.js or PHP for back-end programming ?

I'm pretty good with front-end programming and I am very comfortable with JavaScript, I want to start back-end web development but I just can't decide between using node.js or PHP.

  1. Is there anything that can be done with one that can't be done with the other ?
  2. What are the advantages of node over PHP and vice versa (opposite) ?
  3. Which is lower (abstraction) level ?
  4. Which is more efficient (does more with less code) ?

note: please keep all answers factual and objective, NOT opinion-based. Thank you in advance

1 Answer

Gurpeer Duhra
Gurpeer Duhra
4,205 Points

Since you have more confident with JavaScript, go with node.js . Do you have any experience with PHP? I don't know.

rakan omar
rakan omar
15,066 Points

I'm fluent in javascript, i have worked on advanced level front-end projects. And i have no experience in PHP what so ever, but I'm a very fast learner, don't take former experience with the language into account