We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(9)
Express.js
似乎非常流行用作通用框架。与socketio.js
和underscore.js
结合使用,这些是非常流行的库,但它们不是 MVC。对于 MVC,我只使用过
backbone.js
/spine.js
,无法为其他人提供任何建议。我认为目前还没有一个具有主导地位的框架,因为 Node.js 在生产中没有太多用处。某处有
npm
流行下载的统计数据。看看你是否能找到它们。Express.js
seems to very popular to use as a general framework. Combined withsocketio.js
andunderscore.js
these are very popular libraries but they are not MVC.For MVC I've only used
backbone.js
/spine.js
and can't give any recommendation for the others. I don't think there is a framework with a dominating popularity going yet because node.js doesn't have much use in production.There are statistics for popular downloads with
npm
somewhere. See if you can find them.另一个即将出现的优秀 MVC 框架是 Sails.JS。它的灵感来自 ruby on Rails,具有套接字支持、Restful API 等功能。
http://www.sailsjs.com/
Another great MVC framework that is up and coming is Sails.JS. It is inspired by ruby on rails and has features such as socket support, Restful API and more.
http://www.sailsjs.com/
尝试
RailwayJS。CompoundJSRailwayJS 似乎已被杀死并被CompoundJS 取代。
对于任何刚开始接触 Railway 和想要迁移到Compound。
Try
RailwayJS.CompoundJSRailwayJS seems to have been killed and replaced with CompoundJS.
There's a guide for anyone that started with Railway and wants to migrate to Compound.
我刚刚发布了 Locomotive,这是一个受 Ruby on Rails 启发的 MVC 框架。
Express 非常出色,尤其是对于较小的应用程序。认识到这一点,Locomotive 完全构建在 Express 之上(类似于 Express 构建在 Connect 之上)。 Locomotive本质上添加了一个控制器层和一个可以声明资源丰富的路由并生成路由辅助函数的路由器。在内部,一切都由 Express 提供支持,这意味着视图层保持不变,并且所有中间件都可以重用。
学习 Node 时最大的障碍之一是弄清楚如何最好地构建 Web 应用程序。 Locomotive 尝试使用 Ruby on Rails 的约定来解决这个问题,同时保留 Express 和 Node.js 的全部功能。
I just released Locomotive, which is an MVC framework inspired by Ruby on Rails.
Express is phenomenal, especially for smaller apps. Recognizing that, Locomotive is built completely on top of Express (similar to how Express builds on top of Connect). Locomotive essentially adds a controller layer along with a router that can declare resourceful routes and generates routing helper functions. Internally, everything is powered by Express, which means the view layer remains the same and all middleware can be reused.
One of the bigger hurdles when learning Node is figuring out how to best structure a web application. Locomotive attempts to solve that problem, using conventions from Ruby on Rails, while retaining the full power of Express and Node.
有斗牛士。它是MVC,由许多不同的现有组件组成,例如用于继承模型的Klass、express、hogan。 js 和情人节。 Backbone.js 几乎用于客户端。对于node,我想可能只有我认识的斗牛士了。
如果您要使用 matador 进行生产或替换现有的 MVC 平台(或者至少有瓶颈/有充分的理由使用它),我建议您不要使用它,因为它很新,而且您的生产力也取决于 javascript你拥有的资源。我们自己非常广泛地使用node.js(迄今为止,我们的node.js部署服务了近400万用户),并且我们这里有大量的javascript专家..所以我们进行了很多实验,并且可能很快就会考虑使用matador。希望有帮助。
There is matador. It is MVC and it consists of many different existing components, such as Klass for inheritance model, express, hogan.js, and valentine. Backbone.js is pretty much used for client side. For node, i think there's probably only matador that I know.
I'd suggest you against using it if you're to use matador for production or replace your existing MVC platform (or at least have a bottleneck/good reason to use it) since it's pretty new, and your productivity also depends on the javascript resources you have. We ourselves use node.js very extensively (our node.js deployment serves close to +4 Million users to date) and we have a significant number of javascript specialists here..so we experiment a lot and probably look into using matador soon. Hope that helps.
Geddy 是 Nodejs 的原始 MVC 框架,如果您感兴趣,请查看 http://geddyjs.org。
Geddy was the original MVC framework for Nodejs, check out http://geddyjs.org if you're interested.
刚刚发现了一个名为 Derby 的新产品,它看起来很有前途。它的主要好处似乎是它减少了我们在尝试同时使用rails和backbone或django和backbone时经常编写的大量“粘合代码”(正如他们所说的)。对于节点框架来说,该文档似乎也相当不错。
Just came across a new one called Derby which looks like it has a lot of promise. Its main benefit seems to be that it cuts down on a lot of the "glue code" (as they put it) that we often write when trying to use rails and backbone, or django and backbone together. The documentation seems pretty decent for a node framework as well.
Monorail.js - Node.js 的超轻量级 MVC 框架
https://github.com/runexec/Monorail.js
Monorail.js - Ultra lightweight MVC Framework for Node.js
https://github.com/runexec/Monorail.js
您还可以查看其他一些框架:
ThinkJS https://thinkjs.org/ 第一个 Node.js MVC可以使用完整 ES6/7 功能来开发 Node.js 应用程序的框架。
Feathers http://feathersjs.com/ 一个极简的实时框架。
Meteor https://www.meteor.com/
Keystone.js http://keystonejs.com/ 基于 Express 和 MongoDB(MIT 许可证)构建。
seneca.js http://senecajs.org/ 业务逻辑外部的所有内容 - 例如数据库、缓存和第三方 -各方集成 - 隐藏在微服务背后。
Catberry http://catberry.org/ 的开发目的是帮助创建在服务器和客户端上使用相同代码库的应用程序渲染客户端所看到的“单页应用程序”的环境。
Nuke.js http://nukejs.com/#/ 快速框架。该堆栈包含 primus、express、mithril、mongodb 和 redis
Hapi.js http://hapijs.com/ 富 Web 应用程序Node.js 的服务器框架。
Total.js https://www.totaljs.com/ 该框架包含完整的 Web 服务器、视图引擎、SMTP邮件发送器、本地化、图像处理、websockets、同构代码和许多实用程序
There are a few more frameworks which you could check:
ThinkJS https://thinkjs.org/ the first Node.js MVC framework that can use full ES6/7 features to develop Node.js application.
Feathers http://feathersjs.com/ a minimalist real-time framework.
Meteor https://www.meteor.com/
Keystone.js http://keystonejs.com/ built on Express and MongoDB (MIT license).
seneca.js http://senecajs.org/ Everything external to a business logic - such as databases, caches and third-party integrations - is hidden behind microservices.
Catberry http://catberry.org/ was developed to help create apps that use the same codebase on both the server and client environments to render what the client would see as a "Single Page Application".
Nuke.js http://nukejs.com/#/ Fast framework. The stack contains primus, express, mithril, mongodb and redis
Hapi.js http://hapijs.com/ rich web application server framework for Node.js.
total.js https://www.totaljs.com/ The framework contains full web server, view engine, SMTP mail sender, localization, image processing, websockets, isomorphic code and a lot of utilities