开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜