Reputation: 11686
What's a good architecture/pattern for developing server-side node.js?
I will be using a backbone.js MVC architecture on the front-end, transporting over websockets.
Examples/explanations would be great! Thanks!
Upvotes: 3
Views: 1117
Reputation: 20463
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.
Upvotes: 3