就目前而言,我是一名Java和c#开发人员。我对Ruby on Rails看得越多,我就越想学习它。
你发现学习RoR的最佳途径是什么?在Windows上开发会更容易吗,还是应该在Linux上运行虚拟机?
是否有一种IDE可以与Visual Studio的健壮性相匹配?有什么程序可以给我们一个很好的开销吗?有什么好书吗?
说真的,任何建议/技巧/咆哮都很棒。
就目前而言,我是一名Java和c#开发人员。我对Ruby on Rails看得越多,我就越想学习它。
你发现学习RoR的最佳途径是什么?在Windows上开发会更容易吗,还是应该在Linux上运行虚拟机?
是否有一种IDE可以与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.
我希望这对你有帮助!我远不是专业人士,但我一头扎进去,尽可能多地从各种资源中汲取。我上面提到的方法是最有帮助的!
哦,现在真正对我有帮助的是制定个人项目和设置特定的任务。跟着做很好,但是当你在没有向导的情况下潜入时,你才能真正学到东西!
其他回答
只有+1敏捷Web开发与Rails(尽管确保您获得最新版本)- http://pragprog.com/
我在Mac上开发,这有时是有益的——它是Rails开发人员非常流行的平台,所以你看到的许多博客文章都是面向Mac的。不过Linux也很棒;)
最后——我和公司一点关系都没有——当你有东西想要直播时,heroku是一个不错的选择。找到一个便宜的rails主机并不容易,所以这是一个很好的起点。不过,还有很多其他优秀的主持人!Heroku确实需要git来进行版本控制(尽管您可以在subversion之上使用它)。
祝你好运!
我在很久以前看过臭名昭著的“15分钟写博客”视频,当时Rails大概还在1.0版本左右。关于Ruby/Rails世界最重要的事情之一是,鉴于它是一个伟大的社区,与其他框架相比,它的变化速度快得可笑。
今天,Rails与过去相比有了很大的不同,尽管其主要意识形态一直保持不变。尽管在过去的几年里我学到了很多关于Rails的东西,但我仍然在不断地学习关于它的新东西。
对我来说,帮助我发现并跟上Ruby和Rails的最新方法的最有价值的资源如下:
Rails Guides - A nice way of learning Rails itself, edited by the community, moderated by the core contributors. The site has a lot to offer on most of the important main topics around Rails that it can get you up and running very quickly. It covers bot the most recent stable and edge versions of the framework. If you understand the main ideology of Rails than I definitely recommend checking out (and subscribing to) Ryan Bates' Railscasts. Let me just quote from the site itself, I think it's pretty self explanatory: Every week Ryan Bates will host a new Railscasts episode featuring tips and tricks with Ruby on Rails. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics target the intermediate Rails developer, but beginners and experts will get something out of it as well. There are also a lot of podcasts around Ruby/Rails, the two that I keep listening to are Ruby5 and the Ruby Show. For more specific questions like API calls etc, I'd recommend APIDock's Rails and Ruby sections where you can get more information on specific methods. If you are getting more familiar with the framework, it's worth taking a look at Rails Best Practices. There's a bunch of short articles on certain issues that most people make in the beginning of their learning curve with Rails. This site is meant to point pot these issues and help beginners finding their way towards writing better and more well thought out code. There's also a gem that you could use which scans your application and points out these issues and offers solutions/workarounds. Pretty neat!
这些资源应该可以帮助您建立和运行Rails。祝您在Rails世界的旅程中好运,欢迎来到这个社区。
学习Ruby的好链接: http://en.wikibooks.org/wiki/Ruby_Programming
我在Neighborly先生的《谦逊的红宝石小书》的帮助下学会了Ruby。这是一个很好的免费下载的Ruby介绍,有很多例子,我100%推荐。
我的建议是开始——选择一个你通常用来学习mvc风格语言的小项目(例如,一些数据库,可能是一些基本的工作流),然后当你需要学习一个概念时,使用其中的一个(或两个!)
使用Rails进行敏捷Web开发 或 铁路之路
了解它是如何工作的,然后尝试一下。
敏捷Web开发的问题在于它已经过时了,并且场景运行的时间太长,以至于您真的不想只构建一次;Rails方式可能很难遵循,因为它是从参考到学习的跳跃,但如果它是好的,它比敏捷Web开发要好。
但总的来说,它们都是好书,都有利于学习,但它们都没有提供你想要遵循的“教育”路径。所以我读了前者的几章(足以获得基本概念并学习如何引导第一个应用程序——也有一些在线文章可以帮助这一点),然后就开始了,然后每隔几天我就会阅读一些新的东西,或者我用书来理解一些东西。
还有一点:这两本书都是Rails方面的书籍,而不是Ruby方面的书籍,如果您打算编写干净的代码,那么尽早花一天时间学习Ruby语法是值得的。Why's Guide to Ruby是一本很好的书,还有其他的。