What's a good architecture/pattern for developing server-side node.js?
What's a good architecture/pattern for developing server-side 开发者_JS百科node.js?
I will be using a backbone.js MVC architecture on the front-end, transporting over websockets.
Examples/explanations would be great! Thanks!
MVC on the server-side works great, too. Try Express and Socket.IO. Express has an executable called express that should be available if you install from npm. When you run express, it makes a skeleton file structure of a skeleton app. Here's a simple example of an MVC model using Express.
精彩评论