Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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