[分享] Ruby 学习资源

楼主: Neisseria (Neisseria)   2016-04-11 12:44:17
本文列出 Ruby 相关的学习资源,以供有心学习 Ruby 的同好们参考。
## Ruby 程式设计
- 官方网站,有一些文件可看
https://www.ruby-lang.org
- Ruby Doc:查 Ruby API 用
http://ruby-doc.org/
- Ruby User's Guide:快速学习 Ruby 的语法,原版是由 Ruby 之父松本行弘
以日文撰写。
[英译] http://www.rubyist.net/~slagell/ruby/
[中译] http://guides.ruby.tw/ruby/
- Beginning Ruby, 3rd edition:适合新手的 Ruby 入门书
http://www.apress.com/9781484212790
- Learn to Program:新手导向的入门书。
https://pine.fm/LearnToProgram/
- Learn Ruby the Hard Way:含许多练习的入门书。
[连结] http://learnrubythehardway.org/book/
[中译] http://lrthw.github.io/
- TutorialsPoint 的 Ruby 教程
http://www.tutorialspoint.com/ruby/
- Programming Ruby:具指标性的 Ruby 教材
[连结] https://pragprog.com/book/ruby4/programming-ruby-1-9-2-0
[旧版] http://ruby-doc.com/docs/ProgrammingRuby/
- Practical Object-Oriented Design in Ruby: An Agile Primer:
以 Ruby 为例,讲解物件导向程式设计的书
http://www.poodr.com/
## 线上学习网站
- Codecademy:免费线上练习程式设计的网站,可付费升级以取得部分独特内容。
https://www.codecademy.com/
- RubyMonk:免费线上交互式 Ruby 学习网站
https://rubymonk.com/
- Ruby Koans:下载学习 Ruby 程式设计
http://rubykoans.com/
- SoloLearn:免费线上交互式程式设计学习网站,有多种语言,包括 Ruby 在内
https://www.sololearn.com/
- Code School:线上练习程式设计的网站,大部分课程需付费。
https://www.codeschool.com/
- LauchSchool (原 Tealeaf):扎实的线上课程,费用较高,有真人导师协助学习。
https://launchschool.com/
## 解题网站
熟悉 Ruby 语法后,可以到下列网站练功。
有些题目有相当难度,做不出来也不用太灰心。
- https://leetcode.com/
- https://www.hackerrank.com/
- https://www.hackerearth.com/
- http://exercism.io/
## Web 开发
建议想学习 web 开发的初学者,先将 HTTP 的基础概念 (注1) 看完一次,但不需强记
那些协定的细节。然后,可以依照前端 (frontend) 和后端 (backend) 分头学习,以
Ruby 社群来说,可以先透过 Sinatra 来学习 web 开发,在学到 web form 和 ajax 时
,就会用到后端,另外,数据库也需要透过后端程式和前端连结。对于有经验的开发者,
则可直接学习 Ruby on Rails。
注1: http://www.tutorialspoint.com//http/index.htm
### 前端
- HTML:静态的网页内容
- CSS:静态的网页形式
- JavaScript:动态的网页动作。对于初学者来说,先学基本的 JavaScript 语法和
jQuery。以后再视需要学习前端框架。
### 后端
传统上来说,后端是由 Perl、PHP 和 ASP 等语言负责,但后端不限于某种特定的语言。
以 Ruby 社群来说,可由下列框架入门:
- Sinatra
- Ruby on Rails
或是这些新的框架
- Hanami
- Padrino
### 资料端
数据库有相当多的实作品,以 web application 来说,可先从以下两种数据库择一学习

- MySQL
- PostgreSQL
## Ruby on Rails
Ruby 中最知名的 web framework。但 Rails 较适合已有一定 web application 开发
经验,想要快速开发新产品的开发者。对于初学者来说,建议先按部就班学习 web 开发
的基础。
### Rails 5
- Rails Guide:官方文件,略为学过 Rails 后再看,比较容易上手
http://guides.rubyonrails.org/
- 为你自己学 Ruby on Rails:高见龙 (eddie) 先生所撰写的 Rails 书籍
http://railsbook.tw/
http://books.gotop.com.tw/v_ACL050300
- Ruby on Rails Tutorial:国外最知名的 Rails 入门教程。
https://www.railstutorial.org/
- Agile Web Development with Rails 5:DHH 参与编写的 Rails 教程
https://pragprog.com/book/rails5/agile-web-development-with-rails-5
- Learning Rails 5
http://shop.oreilly.com/product/0636920039822.do
### Rails 4
- Rails, Angular, Postgres, and Bootstrap:
综合性书籍,建议有一些网页程式的经验再看
https://pragprog.com/book/dcbang/rails-angular-postgres-and-bootstrap
- RailsBridge Docs:简易的 Rails 教程,可以按部就班学习。
http://railsbridge-docs-zh-tw.herokuapp.com/docs/
- Rails Girls 指南:可跟着练习的教程。
http://railsgirls.tw/
- Ruby on Rails 实战圣经:国内有名的 Rails 参考书。
https://ihower.tw/rails4/
- Rails 101:目前改为免费线上课程。
http://courses.growthschool.com/courses/rails-101
- Rails 102:一些较进阶的 Rails 相关知识。
https://www.gitbook.com/book/rocodev/rails-102/details
- The Rails Way:
将 Rails 详细讲一次的大部头书籍,适合学过一阵子 Rails 后再看。
http://amzn.to/1Q1PtL4
## Sinatra
一个 micro-framework,可用来快速建立网页应用程式。对于不熟悉 web 开发的
程式设计师而言,先学 Sinatra 比较容易上手。
- Sinatra 官网,有一些文件可看。
http://www.sinatrarb.com/
- Sinatra Up and Running:第一本 Sinatra 的实体书籍。
http://shop.oreilly.com/product/0636920019664.do
- Jump Start Sinatra:电子和实体书籍。
http://www.sitepoint.com/store/jump-start-sinatra/
## Git
最流行的分布式版本管理系统,Linux 之父 Linus Torvalds 的作品。
- 为你自己学 Git:高见龙 (eddie) 先生所撰写的 Git 书籍
http://gitbook.tw/
- Pro Git:免费电子书,也有实体书籍
https://git-scm.com/book/en/v2
建议到 https://github.com/ 注册帐号,以存放程式码
帐号本身为免费, 如果需要私有 repo 时可付费
可到 https://bitbucket.org/ 注册帐号,存放私有 repo 不需收费。
## 适用 Rails 和其他 Ruby 网站的 hosting 方案
PaaS 的好处是不需管理站台,但收费会略高
- Heroku:提供免费额度可供练习
https://www.heroku.com/
- Engine Yard
https://www.engineyard.com/
- Google Cloud Platform
https://cloud.google.com/
- OpenShift*:有免费额度可供练习
https://www.openshift.com/
*注:OpenShift 上 Ruby 及其他相关套件的版本较旧,可能会在部署时发生问题,
请小心服用。
VPS 的好处是收费相对较低,但需自行管理站台
- Linode
https://www.linode.com/
- DigitalOcean
https://www.digitalocean.com/
- Vultr
https://www.vultr.com/
## Mobile apps
透过 RubyMotion 可将 Ruby 程式码转为原生的 iOS、Mac OS 及 Android 平台的应用
程式。这是一套商业软件,基本功能免费,进阶功能需付费,请需要的朋友自行参考
http://www.rubymotion.com/
## 综合性应用
- Ruby Cookbook: 综合性 Ruby 技巧及应用
http://shop.oreilly.com/product/9780596523695.do
- The Ruby Way: 综合性 Ruby 技巧及应用
http://therubyway.io/
- The Ruby Toolbox
列出各种情境可用的 gems,有一些指标像是开发活跃度、下载次数等可参考
https://www.ruby-toolbox.com/
- Awesome Ruby
列出许多 Ruby 函式库和框架,可供开发者参考
http://awesome-ruby.com/
- Awesome Ruby (from LibHunt):另一个整理 Awesome Ruby 的网站
https://ruby.libhunt.com/
- Ruby Quicktips:一些简短而实用的 Ruby 程式码
http://rubyquicktips.com/
## 游戏
什么?Ruby 可以用来做游戏?用 Gosu 就可以做出一个 2D 游戏了。
https://www.libgosu.org/
- Learn Game Programming with Ruby:实体和电子书籍
https://pragprog.com/book/msgpkids/learn-game-programming-with-ruby
- Developing Games with Ruby:电子书,可免费线上观看及付费下载
https://leanpub.com/developing-games-with-ruby/
以下是另一本有趣的 Ruby 书:
- Mazes for Programmers:用 Ruby 制作迷宫
https://pragprog.com/book/jbmaze/mazes-for-programmers
## 电子报
- Ruby Weekly
http://rubyweekly.com/
- Green Ruby
http://greenruby.org/
- Ruby Asia
http://rubyasia.com/
## 个人网站
一些 Ruby/Rails 前辈的网站,按网络代名的字母排序。
- eddie
http://kaochenlong.com/
- ihower
https://ihower.tw/
- ryudo
http://ryudo.tw/
- xdite
http://xdite.net/
## 社群
- Rails Taiwan:台北和高雄的 Meetup
http://www.meetup.com/rails-taiwan/
- RailsFun:Rails 社群,包括线上讨论区和实体聚会
http://railsfun.tw/
- Ruby Taiwan:Facebook 社团
https://www.facebook.com/groups/142197385837507/
- Ruby on Rails 读书会:Facebook 社团
https://www.facebook.com/groups/208890269174940/
- Ruby on Rails 新手村:Facebook 社团
https://www.facebook.com/groups/670532946312104/
## 研讨会
以东亚的研讨会为主。
- RubyConf Taiwan:台湾的 Ruby 研讨会
http://rubyconf.tw/
- RubyConf China:中国大陆的 Ruby 研讨会
http://www.rubyconfchina.org/
- Ruby Kaigi:日本的 Ruby 研讨会
http://rubykaigi.org/
- Rails Pacific:亚洲区的 Rails 研讨会
http://www.railspacific.com/
如果有机会出国,可以参考 http://rubyconferences.org/ 网站
有全世界的 Ruby 相关研究会短信。
## 商业课程
小弟和下列团体没对价关系,各位网友可放心。
有些网友比较喜欢上课,故放在此处,请各位自行参考。
- 五倍红宝石:提供 Ruby、Rails、iOS 等课程。
https://5xruby.tw/
- ALPHAcamp:提供 Rails、iOS 和行销等课程,以创业为目标,需面试
https://www.alphacamp.co/
- GrowthSchool:提供 Rails、敏捷开发、Growth Hack 等课程
http://www.growthschool.com/
- 飞鸟学院:提供网页前端、PHP、Rails、iOS 等课程。
http://asukademy.com/
作者: w60241 (小羽)   2016-04-11 15:32:00
推推
作者: fr373969 (Brian)   2016-04-11 16:26:00
大推
作者: rayway30419 (RayWay)   2016-04-11 17:55:00
作者: fouring (香菇)   2016-04-11 19:31:00
推!感谢整理!
作者: linyoga (YoGa)   2016-04-11 20:17:00
推整理..谢谢
作者: mrgan31 (歹狼)   2016-04-12 01:09:00
谢谢!
作者: maplesida (丹尼)   2016-04-12 07:50:00
推用心
作者: i5201122 (小那)   2016-04-15 17:26:00
作者: treekey999 (treekey)   2016-04-18 13:28:00
推!!!
作者: ange (la)   2016-04-18 19:11:00
Sweet!
作者: tikka1005 (Ken)   2016-04-20 00:02:00
感谢您
作者: eric0609 (南区阿良)   2016-05-08 21:07:00
push
作者: tikka1005 (Ken)   2016-04-20 00:00:00
感谢您
作者: ffggzz2 (Fixyouo)   2016-08-29 01:22:00
Pushh

Links booklink

Contact Us: admin [ a t ] ucptt.com