Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a good architecture/pattern for developing server-side node.js?

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!

like image 764
boom Avatar asked Apr 07 '26 18:04

boom


1 Answers

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.

like image 167
EhevuTov Avatar answered Apr 09 '26 07:04

EhevuTov