I just started learning about node.js and I am currently working through the tutorial available at www.nodebeginner.com. It's quite good, but I'm confused. In the tutorial all HTML code served by the node server is hard coded into the server, wrapped in response.write() calls. While this does serve the purpose of getting HTML to the client, I don't think many professionals would develop their sites like this. So, what options, if any, are available so that I may separate my server code, and my HTML pages? Thanks for any info on this!
You want to take a look at a web framework to use with node.js.
There is currently no discussion for this recipe.
This recipe can be found in it's original form on Stack Over Flow.