Haskell Web 框架的当前技术水平是什么

发布于 2024-12-19 18:50:50 字数 661 浏览 2 评论 0原文

我正在寻找对 Haskell Web 框架当前技术水平的深入了解。

我认为一个好的框架所必需的:

  • 用于连接到 http 服务器(如 Rack)的 Web 应用程序接口
  • 可链接的中间件(同样,如 Rack 或 node.js Connect)
  • 惯用的 Haskell
  • 稳定的性能
  • 合理的文档或至少可读的开源code

框架不一定需要是完整的 MVC 堆栈,用于路由和处理请求的优雅 DSL(想想 Sinatra)就足够了。

我找到的一些选项:

我喜欢它的深度Haskell 世界的经验才能真正做出明智的决定,因此任何帮助将不胜感激。

I am looking for insight into the the current state of the art in Haskell web frameworks.

What I would consider to be necessary for a good framework:

  • web application interface for connecting to http servers (like Rack)
  • chainable middleware (again, like Rack or node.js Connect)
  • idiomatic Haskell
  • solid performance
  • reasonable docs or at least readable open-source code

The framework does not necessarily need to be a full MVC stack, an elegant DSL for routing and handling requests (think Sinatra) would be more than sufficient.

Some of the options I have found:

I like the depth of experience in the Haskell world to really make an informed decision, so any help would be appreciated.

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

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

发布评论

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

评论(1

记忆で 2024-12-26 18:50:50

我的印象

Snap

  • 144 Watchers
  • 31 Forks
  • 活跃的开发社区
  • 开发早期阶段
  • 出色的文档
  • “snaplet”感觉像 servlet,看起来相当重量级

Yesod

  • 147 Watchers
  • 27 Forks
  • 似乎很大程度上是一个提交者
  • 出色的文档
  • 似乎很复杂整体式(包括表单、模板和 orm 等)

Miku

  • 8 Watchers
  • 1 Forks
  • 似乎很大程度上是一个
  • 轻量级的单一提交者 - 灵感来自 Sinatra
  • 最小文档

Bird

  • 不活跃的项目
  • 精彩的 dsl(我选择最“像 sinatra 的”)
  • 最少的文档

Happstack

My impressions

Snap

  • 144 Watchers
  • 31 Forks
  • active development community
  • early stages of development
  • great documentation
  • "snaplets" feel like servlets, seem quite heavyweight

Yesod

  • 147 Watchers
  • 27 Forks
  • seems to be largely a single committer
  • great documentation
  • seems complicated and monolithic (includes among others forms, templates, and an orm)

Miku

  • 8 Watchers
  • 1 Forks
  • seems to be largely a single committer
  • lightweight - inspired by Sinatra
  • minimal documentation

Bird

  • inactive project
  • wonderful dsl (my pick as most "sinatra-like")
  • minimal documentation

Happstack

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