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

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

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

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


当前回答

0)先学习ruby。这是非常重要的。Rails的一个巨大优势是Ruby:一种非常强大的语言,但也非常容易被误解。在线浏览一些Ruby教程。当在Daily WTF上遇到编码挑战时,用Ruby编写。你会学得很快的。

1)去买《Ruby for Rails》这本书

2)查看Rails教程并订阅“驾驭Rails”博客。

3)在本地建立应用程序。不要使用脚手架。

4)当你在你的应用中安装插件时,去看看插件中的代码(在你的供应商目录中)并学习它。这是学习Ruby和Rails内部知识的最好方法之一。当你不明白某件事是如何运作的,把它贴在这里,有1000人会帮助你。

至于你的其他问题:

是的,您需要在Linux环境中进行开发。您可以在Windows上开发Rails,但这并不意味着应该这样做。许多宝石在Windows上跟不上速度。

NetBeans作为一个IDE工作得很好。如果你用的是Mac电脑,你会因为使用Textmate而获得好评。

其他回答

我在Mac OS上使用RoR和textmate编程,这很棒。

我建议“Programming Ruby 1.9”(The Pickaxe Book) for Ruby and Agile Web Development with Rails”来学习Rails,两者都是由Pragmatic Bookshelf出版的。

好运!

我以前在windows上用Java和c#编程。

我赞同这些来源:

IDE:尝试Apatana RadRails 3预览:http://www.radrails.org/3。它是最接近Visual Studio的东西。我偶尔会使用它,但仍然喜欢Textmate的轻盈感。

OS: Mac OS从Ruby社区得到了最多的爱。其他的都被当作私生子对待。

书:

实用程序员指南(十字镐书) 使用Rails进行敏捷Web开发

视频:

Peepcode (pay)是一种快速掌握概念的好方法 Railscasts(免费)是一个很好的方法,每周获取新的宝石和概念增量 Railscasts(专业版)也是一种以相当低的价格获取概念的好方法。

找一个附近的Ruby用户小组并开始参加。我发现,这是一个很好的方法,可以结识许多对开发充满热情并愿意教书的人。

阻力最小的路径:

Have a simple web project in mind. Go to rubyonrails.org and look at their "Blog in 15 minutes" screencast to get excited. Get a copy of O'Reilly Media's Learning Ruby Get a Mac or Linux box. (Fewer early Rails frustrations due to the fact that Rails is generally developed on these.) Get a copy of Agile Web Development with Rails. Get the version of Ruby and Rails described in that book. Run through that book's first section to get a feel for what it's like. Go to railscasts.com and view at the earliest videos for a closer look. Buy The Rails Way by Obie Fernandez to get a deeper understanding of Rails and what it's doing. Then upgrade to the newest production version of Rails, and view the latest railscasts.com videos.