I'm trying to learn NodeJS. My background (most recently) is writing web applications in PHP, with some JavaScript mixed in. My objectives are (1) to learn to write simple web applications in NodeJS, (2) to be able to read NodeJS code to help me document services that my company develops, and (3) to contribute to an ongoing NodeJS open source project.
I'm working my way through Chapter 1 of *Node Cookbook,* by David Mark Clements, one of the books that was highly rated on the site where I go for recommendations. I'm starting to wonder "Why are we here?" The chapter is titled "Making a Web Server," and it contains exactly what the title promises. If I were teaching a web development language, I'd want to start by treating the web server as a black box and teaching how to write an elementary web application. Working with the web server would be an advanced topic. Readers would be better equipped to understand it after they had some experience with the language, and many would not want to bother with it at all until they needed it to solve a real problem. I don't think I'm saying this because I'm looking at NodeJS as if it were PHP. PHP treats the server as a separate component because it's infrastructure, best kept out of the way unless needed. NodeJS treats the server as a part of the application, for reasons which I expect I'll appreciate in due time, but it's still infrastructure; that's a function of what web applications do, not of what language they're written in. What's going on here? Am I somehow unclear on concept? Or have I simply chosen the wrong book? -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
