我可以期待什么作为 Rails 3.0 的核心堆栈以及我现在需要包含什么作为插件

发布于 2024-08-16 23:42:52 字数 211 浏览 6 评论 0原文

那么 Rails 和 Merb 在 Rails 3.0 中是某种程度的合并?无论如何,这就是向我描述的。这意味着Rails 的很多东西现在都将被转移到插件中,这样它就可以更加轻量级。然而,这些插件会是什么?作为一名新的 Rails 开发人员,Rails 开发人员应该安装哪些必须具备且更成熟的插件?我能想到的一些很好的例子可能是 will_paginate、ruby_prof 或 sqlite3-ruby。

So Rails and Merb are sort of merging in Rails 3.0? Thats how its been described to me anyway. This means that a lot of what made Rails, Rails will now be moved to plug-ins so that it can be more lightweight. HOwever, what are those plug-ins going to be and as a new Rails developer, what are THE must have - and also more mature - plug-ins that a Rails developer should install? Some good examples I can think of might be will_paginate, ruby_prof or sqlite3-ruby.

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

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

发布评论

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

评论(2

一生独一 2024-08-23 23:42:52

我的理解是,Rails (3) 本质上仍将由现在组成的框架组件组成,即 ActiveRecord、ActiveSupport、ActionPack,甚至prototype.js 等。只是内部结构已被显着重构和清理,它将将组件更换为替代品要容易得多。例如,也许用 Data Mapper 替换 ActiveRecord。

  • Rails 3 的口号与 Burger King 相同,即 Have It Your Way(我不是在开玩笑!)

My understanding is that Rails (3) will still essentially be composed of the framework components that make it up now i.e. ActiveRecord, ActiveSupport, ActionPack, even prototype.js etc. It's just that the internals have been significantly refactored and cleaned up and it will be much easier to swap out components for alternatives. For example, perhaps replacing ActiveRecord with Data Mapper.

  • The tag line for Rails 3 is the same as Burger King i.e. Have It Your Way (I'm not joking!)
一身仙ぐ女味 2024-08-23 23:42:52

许多版本都删除了重要的组件并将它们放入插件中,您可能大多数时候都没有注意到。最好的办法就是保持升级并注意日志中的弃用消息,这样就可以了。

这一切都要归功于这样的帖子,其中突出了问题早些时候到社区。现在应该更加顺畅了。

Many releases have taken out significant components and put them in plugins, you probably haven't even noticed most of the time. The best thing to do would be to just stay upgraded and pay attention to deprecation messages in your logs and you'll be fine.

This is all thanks to posts like this which highlighted the problems to the community earlier on. Now it should be much, much smoother.

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