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

some questions

Couple of questions to make sure I understand everything:

  1. When making a website you will put on a given server your html, css, javascript, php files. When a client wants to go on your domain, the server will send all those files to the client browser and will interpret them? Apache's work is then only to find and send the files, why would it interpret it as said on the video?

  2. Node JS is "server side javascript" that helps you create routes, communicate with the database and so forth. Does that mean that Apache needs to be able to compile node js as well?

  3. Node JS is a JavaScript runtime. What does it precisely mean? Does it mean that it is designed to be able to compile itself on the server? In case how does that work?

  4. All AJAX can be covered with Node JS correct?

  5. Final question, on the client side, we should just use standard javascript/jquery in order to create animated content, but how about something like Meteor that combines both client and server side? is it a combination of Node JS and JavaScript?

Thanks vm in advance!! Thomas

2 Answers

Thomas: I only really have an answer to one of your questions, as I'm trying to wrap my head around Node.js as well. For your first question...php files are not sent to the client. They're interpreted on the server and the resulting HTML and CSS is sent to the client.

For the Node specific questions, it might be helpful to move this to a different section. If you go to one of the Node.js courses and post your question from there with a more specific title (like "Basic Node.js Questions") you may have a bit more luck. If you don't get the answers you're looking for in the forum, the instructor for those courses, Andrew, will also probably be happy to connect you to the right resources.

Thanks Shawn. Anyone to help on the other questions?