哪些流行的快速 Web 开发框架遵循“Rails 范例”?

发布于 2024-08-10 06:22:42 字数 541 浏览 2 评论 0原文

我正在尝试编译一个广泛使用的、遵循“Rails 范式”的著名 Web 框架列表,在这个问题的上下文中,它被定义为遵循以下关键原则的 Web 框架:

  • 约定优于配置(CoC)
  • 不要重复你自己(DRY)
  • 明智的默认设置
  • 简单的脚手架:自动生成 CRUD 接口

这是迄今为止的列表:

  • Ruby on Rails (Ruby),于 2004 年发布,> 6500 个问题,关于标记为“ruby-on-rails”的 SO
  • Django (Python) ,于 2005 年发布,> 3400 个关于标记为“django”的 SO 问题
  • Grails (Groovy),于 2006 年发布,> 500 个关于标记为“grails”的 SO 问题 标记

为 SO 的问题数量被视为受欢迎程度的代理网络框架。

问题:

  • 当前广泛使用的其他哪些著名 Web 框架应该包含在这个列表中?

I'm trying to compile a list of notable web frameworks in wide use that follow the "Rails paradigm", which in the context of this question is defined as web frameworks following these key principles:

  • Convention over Configuration (CoC)
  • Don't Repeat Yourself (DRY)
  • Sensible defaults
  • Easy scaffolding: automatic generation of CRUD interfaces

This is the list so far:

  • Ruby on Rails (Ruby), released in 2004, >6500 questions on SO tagged "ruby-on-rails"
  • Django (Python), released in 2005, >3400 questions on SO tagged "django"
  • Grails (Groovy), released in 2006, >500 questions on SO tagged "grails"

The nuber of questions tagged on SO is taken as a proxy for the popularity of the web framework.

Question:

  • Which other notable web frameworks currently in wide use should fit in this list?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

电影里的梦 2024-08-17 06:22:42

CakePHP
我确信蛋糕至少遵循其中两个原则:

  • 简单的脚手架(“烘焙”某些东西)
  • CoC(在主页上说明)

至于其他两个,我不能肯定地说。希望其他人能够对此给出明确的答案。

CakePHP
I'm sure cake follows at least two of those principles:

  • Easy scaffolding ('Baking' something)
  • CoC (stated on the main page)

As for the other two, I can't say for sure. Hopefully someone else can give a definitive answer on that.

來不及說愛妳 2024-08-17 06:22:42

LIFT,http://liftweb.net/,用 Scala 编写,用于 Scala。

更新:

来自网站:

Lift 借鉴了最好的现有框架,提供

* Seaside's highly granular sessions and security
* Rails fast flash-to-bang
* Django's "more than just CRUD is included"
* Wicket's designer-friendly templating style 

LIFT, http://liftweb.net/, which was written in Scala, for Scala.

UPDATE:

From the website:

Lift borrows from the best of existing frameworks, providing

* Seaside's highly granular sessions and security
* Rails fast flash-to-bang
* Django's "more than just CRUD is included"
* Wicket's designer-friendly templating style 
清秋悲枫 2024-08-17 06:22:42

我个人认为 ASP.NET MVC 适合这个列表。从技术上讲,脚手架部分是/可以由 Visual Studio 完成,而不是框架本身,但一些规定的设计理念(抱歉,在撰写本文时找不到链接)与您的 CoC、DRY 等列表相匹配.

更新

来自 ASP.NET MVC 1.0 (Guthrie、Hanselmann、Haack、Conery)

ASP.NET MVC 所信奉的设计理念之一是“不要重复自己”原则(通常称为“DRY”)。 DRY 设计有助于消除代码和逻辑的重复,最终使应用程序的构建速度更快、维护更容易。

Personally I think ASP.NET MVC fits the list. Technically the scaffolding bit is/can be done by Visual Studio, rather than the framework itself, but some of the stated design philosophies (sorry, can't find the links at the time of writing) match you list of CoC, DRY, etc.

Update

From ASP.NET MVC 1.0 (Guthrie, Hanselmann, Haack, Conery):

One of the design philosophies ASP.NET MVC embraces is the "Do Not Repeat Yourself" principle (commonly referred to as "DRY"). A DRY design helps eliminate the duplication of code and logic, which ultimately makes applications faster to build and easier to maintain.

埋葬我深情 2024-08-17 06:22:42

我认为 symfony 也是一个不错的选择,最新版本使其更接近 Rails。据传它比 cakephp 快得多。如果您正在考虑性能和 PHP 框架,那么一定要看看它。 Zend 和 CodeIgniter 都是非常强大的框架,但根据我的经验,它们并不像 Rails。

I think symfony is a good option too, The latest release puts it closer to Rails. It is also rumored to be much faster than cakephp. If you are thinking in terms of performance and PHP frameworks then surely have a look at it. Zend and CodeIgniter are nice robust frameworks, but from my experience are not rails-like.

空宴 2024-08-17 06:22:42

嗯,Seaside 是唯一一个真正做 DRY 的,但是 SO 上的帖子数量并不算多。

Hmm, Seaside is the only one really doing DRY, but the number of posts on SO is not that large.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文