从 Merb 出发——我在哪里可以找到家?
我在 2009 年初将我的应用程序从 Rails 中移出,因为我不需要或不想要该框架中的所有功能(ORM、MVC 等),并且不喜欢我们生成的巨大占用空间(200Mb)。 Merb-core 一直是我们应用程序的理想家园,但我现在想知道既然 Merb 和 Merb-core 已经存在,我们是否应该搬到其他地方? Rails 已经合并。
有人对以下问题有建议吗?
我们应该留在 Merb 吗?
考虑到对最小化的渴望 足迹,有什么值得尝试的吗 在 Rails 3.x 上重新实现应用程序?
我对瘦身有一些经验 机架但使用足够的 Merb 功能 港口不会是无痛的- 是否值得“下降”到裸露状态 机架?
谢谢,我明白其中一些是主观的,但我希望有足够多的人使用过 Merb 并面临同样的问题。
顺便说一句,最后一个关于 Merb 的问题几乎是四个月前的事了。
I moved my application off of Rails early in 2009 because I didn't need or want all of the features in that framework (ORM, MVC etc) and didn't like the large footprint we were generating (200Mb). Merb-core has been a great home for our application but I'm now wondering if we should move elsewhere now that Merb & Rails have merged.
Does anyone have advice on the following questions?
Should we stay on Merb?
Given the desire for a minimal
footprint, is there any point trying
to reimplement the app on Rails 3.x?I have some experience with thin and
Rack but use enough Merb features
that the port wouldn't be painless -
is it worth going 'down' to bare
Rack?
Thanks, I appreciate that some of these are subjective but I hope that there are enough people who have used Merb and who have faced the same questions.
Just as an aside, the last question here about Merb was almost four months ago.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
由于 Rails 3.x 比以前更加模块化,您可能也想看看它。你可以把它瘦下来很多。如果您想要真正最小化的占地面积,Sinatra 是一个绝佳的选择。
Since Rails 3.x is more modular than before, you might want to have a look at it too. You can slim it down quite far. If you're going for a really minimal footprint, Sinatra is an excellent choice.
Merb 已经不能满足您的需求了吗?我还在用它。我尝试过 Rails 3,但感觉完全不像我承诺的“Merb 2”;有点像 Rails。因此,我继续在新项目中使用 Merb。我在去年夏天部署了一个项目,并为我目前正在开发的现有网站部署了一个更大的项目。也许它不是一个非常流行的框架,但它满足了我的大部分目标,到目前为止我认为没有理由放弃它。
Does Merb not meet your needs anymore? I'm still using it. I've tried Rails 3 and it doesn't feel at all like the "Merb 2" I was promised; kind of just feels like Rails. As such I continue to use Merb for new projects. I have one I deployed this past summer and a larger project for an existing website that I am currently developing. Perhaps it's not a very popular framework, but it meets most of my goals and so far I've seen no reason to leave it behind.
我有几个使用 Sinatra 运行的生产应用程序。它重量轻,使用起来非常愉快。
I have a couple of production apps running with Sinatra. It's light-weight and generally a pleasure to work with.