TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Best way to learn Ruby on Rails?

11 点作者 jethrokuan将近 13 年前
Recently dived into Ruby on Rails, with no prior experience of ruby. Only some background in C++,C, php and the likes.<p>I'm still juggling between learning RoR, CSS, javascript and hacking at vim, and it's really difficult to do so since I still have to focus on my studies (i'm still 16 &#62;&#60;). I need to learn all those to build a decent well-rounded app.<p>Any suggestions on where to start? It's not like I'm short of time so a long-winded but good way to build a strong foundation would be good.

8 条评论

michael_fine将近 13 年前
So, before you start with learning Rails, I recommend learning HTML/CSS. It shouldn't take more than two weeks to get a basic understanding, and by doing that you avoid the huge hassle of building a web app while barely scraping by with the formatting. Also, you might want to drop both learning javascript and vim, because you can build a solid web app without js, and it's very hard to learn multiple dissimilar things at once.<p>After that, a great resource is <a href="http://railsforzombies.com/" rel="nofollow">http://railsforzombies.com/</a>, and codeschool in general. It's a series of incredibly well made video presentations, which you are then tested on. Once/before you finish that, you should work on actually building an application, maybe following <a href="http://railstutorial.org/" rel="nofollow">http://railstutorial.org/</a>.<p>Once you have finished that, you are well on your way to proficiency, and probably have enough understanding of rails to build your application. Some great resources are <a href="http://guides.rubyonrails.org/index.html" rel="nofollow">http://guides.rubyonrails.org/index.html</a>, <a href="http://www.codeschool.com/courses/rails-for-zombies-2" rel="nofollow">http://www.codeschool.com/courses/rails-for-zombies-2</a>, and <a href="http://api.rubyonrails.org/" rel="nofollow">http://api.rubyonrails.org/</a>.<p>If you have done that, and you still want to learn more, then I would learn more about javascript, and read The Rails 3 Way:<a href="http://www.amazon.com/exec/obidos/ASIN/0321601661/zenruby-20/ref=nosim/" rel="nofollow">http://www.amazon.com/exec/obidos/ASIN/0321601661/zenruby-20...</a>. Finally to learn more about Ruby, read Eloquent Ruby: <a href="http://www.amazon.com/Eloquent-Ruby-Addison-Wesley-Professional-Series/dp/0321584104" rel="nofollow">http://www.amazon.com/Eloquent-Ruby-Addison-Wesley-Professio...</a>.<p>Once you have done that, you should have a pretty solid grounding in Ruby, Rails, and web development in general.
评论 #4093134 未加载
thejerz将近 13 年前
I highly recommend The Rails Way by Obie Fernandez. If you have some background in C++, C, and PHP, this book will suit you well.<p>However I agree with the other commenters that you should absolutely learn HTML, CSS, and JS first. There's no point digging into Rails until you know these basic technologies...
评论 #4122180 未加载
lightspot将近 13 年前
<a href="http://ruby.railstutorial.org/" rel="nofollow">http://ruby.railstutorial.org/</a> is a good place to start
bbrown将近 13 年前
I'm not being sarcastic I swear, but just do it, your brain will catch up. That's how I learn 99% of any thing I study. I'm not saying reading and soaking in information isn't vital, but practice makes perfect they say.
评论 #4121724 未加载
tnorthcutt将近 13 年前
Fourthing Michael Hartl's Rails Tutorial book/screencasts. Great material.
评论 #4093124 未加载
VeejayRampay将近 13 年前
Rails 3 in Action is a great book.
cmaxwell将近 13 年前
Go through Michael Hartl's Rails Tutorial then pick something you want to make and struggle through it.<p>My first project was a golf statistics/handicap site. (<a href="http://www.golfingstat.com" rel="nofollow">http://www.golfingstat.com</a>) It took me a ton of time and it was super frustrating at times but I learned a shitload just running into a brick wall and googling/posting on StackOverflow to find answers.
biopharma_guy将近 13 年前
Start with this. <a href="http://guides.rubyonrails.org/getting_started.html" rel="nofollow">http://guides.rubyonrails.org/getting_started.html</a><p>Once you have some idea then you can go ahead with this. <a href="http://railstutorial.org" rel="nofollow">http://railstutorial.org</a><p>In addition, watch the webcasts<p><a href="http://railscasts.org" rel="nofollow">http://railscasts.org</a>