如何说服我的经理升级 Rails 3 |我应该升级到rails 3吗
我们目前运行的是 Rails 2.1。
我升级的主要动机是担心我们的版本中的宝石/插件会变得越来越稀有/不可用/不受支持(以及最新技术的兴奋)。
我知道 Rails3 带来了很多很多改进,但我的经理可能想听的是他在业务方面获得的优势。
我们的是一个Saas应用,应用的负载不是很高,但是对可靠性的需求比较多。
编辑:
看起来我对升级的倾向需要重新考虑,所以欢迎回答“我应该升级”。
我原来的问题也需要答案 - 如何描述从rails2.1升级的业务优势 ->导轨3。
该应用正在正在积极开发/增强中。
We are currently running rails 2.1.
My main motivation for the upgrade is the fear that gems/plugins will get rarer/unavailable/unsupported day by day for our version (,and the excitement of the latest technology).
I understand there are many-many improvements that come with rails3, but probably what my manager would want to listen is the advantages that he'd get, in terms of the business.
Ours is a Saas application, load on the app is not very high, but the demand for reliability is more.
Edit :
Looks like my inclination towards the upgrade needs rethinking, so answers to "should I upgrade" are welcome.
my original question also needs answers - how to describe the business advantages of an upgrade from rails2.1 -> rails3.
The app is under active development/enhancements.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
不升级的时间越长,到时候升级就会越困难。迟早,任何积极维护的项目都必须升级到更新的版本,并且一路上必须跳过的版本越多,难度就越大,风险就越大。如果定期升级,维护任务就变得相当简单。
恐怕从 2.1 -> 3.0 将是一个相当粗糙的版本,除非您的应用程序非常简单。您可以尝试从 2.1 -> 开始2.3.9 作为第一步。然而,现在就做,而不是在 2.1 的时候做 -> 3.1可以让你省去心痛。现在,每个人都专注于帮助人们升级。一年后,可用的新资源将会减少,竭尽全力帮助人们升级的人也会减少。
The longer you go without upgrading, the harder it will be when the time comes. Sooner or later, any actively maintained project is going to have to move up to the more recent versions, and the more versions you have to skip along the way, the harder and more risky it will be. If you upgrade regularly, it becomes a fairly simple maintenance task.
I'm afraid that going from 2.1 -> 3.0 is going to be a fairly rough one unless your app is pretty simple. You might try going from 2.1 -> 2.3.9 as a first step. However, doing it now, instead of when it's 2.1 -> 3.1 will save you heartache. Right now, everyone is focused on helping people upgrade. A year from now, there will be fewer fresh resources available and fewer people going out of their way to help people upgrade.
如果您的应用程序正在开发中,并且可能在未来几个月内拥有越来越多的功能,那么您应该迁移到更新且受到积极支持的版本。
如果您的应用程序仅偶尔需要错误修复,那么您应该坚持使用当前版本。
If your application is under development and is likely to have more and more features over the months to come then you should migrate to the newer and actively supported version.
If your application only needs bug fixes occasionally then you should stick to the current version.
升级!
我想说,出于您所说的原因,您绝对应该升级,但不要着急。如果你有一个定义良好的测试套件,一切都应该没问题。
大多数核心 Rails 2.x 代码都适用于 Rails 3,您只需阅读弃用警告并一一修复即可。您还可以使用官方 Rails Upgrade 插件来自动执行大量编辑工作。
至于您使用的 gem 和插件,您可以在 railsplugins.org 检查它们的兼容性,并决定是否值得如果有麻烦的话。
还有老板的电梯游说:你说应用程序正在开发中,所以稍后当你绝对必须升级时意味着你必须首先处理 2.x 下出现的所有问题,然后再处理升级问题加上更大应用程序的 3.0 问题。 立即升级可以节省时间,让您免去处理 2.x 问题的麻烦。而且您还可以避免一些升级问题,因为您的应用程序现在可能比您决定稍后升级时的重量级应用程序要精简得多。
Upgrade!
I'd say that you should definitely upgrade, for the reasons you stated, but don't rush it. If you have a well defined test suite everything should be ok.
Most of core Rails 2.x code works with Rails 3, you can just read the deprecation warnings and fix things one by one. You can also use the official Rails Upgrade plugin to automate the bulk of the editing.
As for the gems and plugins you use, you can check their compatibility at railsplugins.org and decide if it's worth the trouble if any.
And the elevator pitch for the boss: You said the app is under development, so upgrading later when you absolutely have to means that you have to first deal with all the issues arising under 2.x and then deal with the upgrade issues plus 3.0 issues of a much bigger app. Upgrading now saves time by saving you the trouble of having to deal with 2.x issues. And you also avoid some of the upgrade issues since your app is probably much leaner now than the heavyweight it will be when you decide to upgrade later.
由于可靠性具有很高的优先级,因此您可能不应该升级,除非绝对需要。必然会出现一些不可预见的问题。
为了满足最新技术的兴奋感,您可以随时离线尝试新插件和 Rails 3。
企业
不应该成为开发人员的沙箱。开发也不应该是简历驱动
。但这只是我的意见。 :)
Since reliability is high on priority, you should probably not upgrade unless it's absolutely required. Some unforeseen issue is bound to come up.
To address the excitement of the latest technology, you can always try out new plugins and Rails 3 offline.
Businesses
should not be sandboxes of developers. Nor should development beResume Driven
.But that's just my opinion. :)
升级的原因有多种,所有这些原因都假设该应用程序正在并将继续处于积极开发状态。
There are several reasons to upgrade, all of which are under the assumption that the app is and will continue to be under active development.