就目前而言,我是一名Java和c#开发人员。我对Ruby on Rails看得越多,我就越想学习它。

你发现学习RoR的最佳途径是什么?在Windows上开发会更容易吗,还是应该在Linux上运行虚拟机?

是否有一种IDE可以与Visual Studio的健壮性相匹配?有什么程序可以给我们一个很好的开销吗?有什么好书吗?

说真的,任何建议/技巧/咆哮都很棒。


当前回答

和你一样,我是一名java/ c#开发人员,试图学习更多的Ruby On Rails。

我正在学习免费的在线课程《Ruby on Rails Programming with Passion》,这是一门很好的入门课程,可以去看看。

我们使用NetBeans作为IDE (win/mac/linux/solaris),如果你习惯Eclipse或Visual Studio,你很有可能会喜欢它。

其他回答

这里有一些很棒的建议!

我将列出的一些资源已经被提到,一些我认为没有。我肯定还不是一个专业选手,我只是在过去的几个月里一直在学习,我的进步速度很快。这是帮助我的顺序:

Why's poignant guide to ruby: excellent introduction to the Ruby language by the infamous _why. Agile web development with rails book: great book with some good in-depth follow alongs Rails tutorial by Michael Hartl (railstutotrial.org): this has been my favorite resource. Hartl's style of walking you through demo apps and explaining everything just made things click for me. Rails for Zombies - ran through this twice, great for reinforcing the basics. Railscasts - I started following this along at first, but they were not helpful until now that I am just really starting to grasp Rails. I would leave these for the end after you have got your feet wet. Think Vitamin's rails tutorials were also pretty good. I followed along these screen casts at first, to feel out the language and then did them again towards the end. The "Learning Rails" podcast, although outdated (Rails 2) was also a good starting resource. I listened to this while driving/working out.

我希望这对你有帮助!我远不是专业人士,但我一头扎进去,尽可能多地从各种资源中汲取。我上面提到的方法是最有帮助的!

哦,现在真正对我有帮助的是制定个人项目和设置特定的任务。跟着做很好,但是当你在没有向导的情况下潜入时,你才能真正学到东西!

我的公司已经开发了三年的知识管理和决策支持平台mavenlive.com。在过去的几年里,我们学到了很多关于rails的知识,下面是我的一些建议。

Switch to Mac! The tools that are available to you and the development environment on Mac allows you to be far more productive than on Windows. railcasts.com has a wealth of informative screencasts from beginner to expert. You can always find new and more efficient ways of doing things from Ryan's posts. Scaling Rails screencasts coupled with NewRelic has provided powerful insight into the performance of our application and allows us to develop effectively while keeping our eyes open for future scalability issues.

我同意srboisvert的观点。不要在Windows上操作。您可以将Ubuntu (Linux版本)添加到Windows并进行双启动。这需要一些工作,但这比违背常理,试图让所有事情都在寡妇身上工作要容易得多。

Ubuntu, Heroku和Git工作得很出色。要知道学习曲线一开始是陡峭的。从Guru.com或Elance上雇佣一些人来帮助你。

此外,在Mac上运行Textmate是首选的解决方案,所以如果你正在考虑购买一台Mac或有机会使用一台Mac,这是最好的选择。我认为你不需要太多的计算能力……

最后,我最喜欢的书是《Agile Web Development for Rails》。谷歌搜索并不能很好地工作,因为大多数信息来自旧版本的Rails,已经被弃用或不能工作。

哦,我差点忘了。下面是更多的Ruby截屏资源:

SD Ruby——他们在网上有很多视频——我发现他们的Rest演讲SD9和SD10是最好的介绍之一。其他休息演讲假设你无所不知。这些都是非常介绍性和切题的。

Obie Fernandez谈InfoQ - Restful Rails。我也读过他的《Rails Way》一书,发现它内容丰富,但冗长而曲折,质量也有点不稳定。我从这本书中学到了很多东西,但我觉得为了读到好的部分而阅读重复的和不相关的东西有点惩罚人。

Netbeans是一个很好的手把手IDE,如果你有耐心等待它的工具提示,它可以教你很多语言技巧(即使在非常快的机器上,它也是一个非常慢的IDE),你可以使用IDE以图形化的方式浏览可用的生成器和类似的东西。获得最新的版本,甚至还内置了Rspec测试。

波特是一个预先构建的基础应用程序,其中已经插入了许多标准插件。如果你下载并试用它,弄清楚它是如何设置的,你就已经在创建自己的全功能应用程序的半路上了。

我写了一篇名为“Rails入门——我希望知道的事情”的文章,许多人认为这篇文章很有帮助。

基础知识:

使用Rails进行敏捷开发(书籍) 用于Windows上快速ruby/rails环境的InstantRails Aptana作为IDE 用于版本控制的Subversion

在线教程很不错,但很分散。为了更全面的理解,你可以花30美元买一本书。