How should I go about writing a node.js web application with both server and client side code?
问题 I'm planning on writing a spine/backbone.js style web application which basically just transfers a large application.js file to the client's browser that communicates with the node.js backend using ajax. The problem is that I don't know how to structure such a project, since I've never seen examples of such an application. I can picture some pros and cons with different ways of doing this Keep everything in one project folder. Both the server side and client side code resides in the same