开发者

Best books for starting with Rails [closed]

开发者 https://www.devze.com 2023-04-04 16:58 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but 开发者_如何学编程this question will likely
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but 开发者_如何学编程this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

I work a lot with PHP and have used django/python quite a bit and want to get started with Rails.

Can anyone recommend any good books for Rails to get started with?


Agile Web Development with Rails from Pragmatic bookshelf has always been a very good book to start with Rails. You may need to go through the Programming Ruby book for Ruby.


You should definitely do a little bit of ruby. You have a programmer background, so the basics are pretty obvious, but you should familiarize yourself with blocks/procs/loops/iteration and symbols. After that i'd recommend that Agile Web Development with Rails, or Rails Tutorial by Michael Hartl.


I find Michael Hartl's Ruby on Rails Tutorial to be fantastic (http://amzn.to/pANzzL). Also, if you don't want to spend much money, it's available for free online. He also keeps the online version up to date with any changes in Rails framework (e.g., Rails 3.1, which is very new, has a chapter online that isn't in the print edition).

Also, the previous answers are correct, Rails is a framework, Ruby is a language. That said, I don't think starting with a book on Ruby, then moving on to Rails is the way to go. You can teach yourself what Ruby you need to get by as you learn Rails and then, later on, pick up an actual Ruby book and get a firmer grasp of the language.


To get started with rails:

  1. Agile Web Development with Rails
  2. Peepcode screencasts
  3. Ruby on Rails Tutorial: Learn Rails by Example
  4. Ryan Bates screencasts

To study about ruby:

  1. Programming Ruby
  2. The Ruby Programming Language
0

精彩评论

暂无评论...
验证码 换一张
取 消