我可以期待什么作为 Rails 3.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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我的理解是,Rails (3) 本质上仍将由现在组成的框架组件组成,即 ActiveRecord、ActiveSupport、ActionPack,甚至prototype.js 等。只是内部结构已被显着重构和清理,它将将组件更换为替代品要容易得多。例如,也许用 Data Mapper 替换 ActiveRecord。
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.
许多版本都删除了重要的组件并将它们放入插件中,您可能大多数时候都没有注意到。最好的办法就是保持升级并注意日志中的弃用消息,这样就可以了。
这一切都要归功于这样的帖子,其中突出了问题早些时候到社区。现在应该更加顺畅了。
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.