-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
136 lines (131 loc) · 10.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!doctype html>
<html lang="zh_CN">
<head>
<meta charset="utf-8" />
<title>Ruby on Rails 教程</title>
<meta name="author" content="Andor Chen" />
<meta name="description" content="Ruby on Rails Tutorial 中文版(原书第2版,涵盖 Rails 4)。" />
<link rel="stylesheet" href="assets/styles/style.css" />
<script type="text/javascript" src="http://cdn.staticfile.org/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="http://cdn.staticfile.org/twitter-bootstrap/3.2.0/js/dropdown.min.js"></script>
</head>
<body>
<div class="wrapper">
<div class="header">
<h1 class="logo"><a class="ir" href="http://railstutorial-china.org/">Ruby on Rails 教程</a></h1>
<p class="subtitle">Ruby on Rails Tutorial 原书第 2 版(涵盖 Rails 4)</p>
</div>
<div class="content">
<div class="bookinfo">
<img src="assets/images/cover.jpg" title="Ruby on Rails 教程" alt="Ruby on Rails 教程" width="300" height="422">
<dl>
<dt>原书名:</dt>
<dd>Ruby on Rails Tutorial</dd>
<dt>作者:</dt>
<dd>[美] Michael Hartl</dd>
<dt>译者:</dt>
<dd>Andor Chen</dd>
<dt>Ruby:</dt>
<dd>2.0</dd>
<dt>Rails:</dt>
<dd>4.0.4</dd>
<dt>页数:</dt>
<dd>460</dd>
<dt>装帧:</dt>
<dd>电子书</dd>
<dt>格式:</dt>
<dd>PDF, ePub, Mobi, HTML</dd>
</dl>
<div class="buy">
<div class="dropdown">
<a class="btn" data-toggle="dropdown" href="#">购买电子书<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li><a href="https://selfstore.io/products/2" title="到 SelfStore 购买电子书">SelfStore(支付宝支付)</a></li>
<li><a href="http://www.ituring.com.cn/book/1333" title="到图灵社区购买电子书">图灵社区(支付宝支付)</a></li>
<li><a href="https://sellfy.com/p/qwyU/" title="到 Sellfy 购买电子书">Sellfy(Paypal 支付)</a></li>
</ul>
</div>
<ol class="notes">
<li>出售行为已获原作者许可;</li>
<li>电子书包含三种格式:PDF、ePub 和 mobi;</li>
<li>图灵社区只提供 PDF 和 mobi 两种格式;</li>
<li>购买后,错误修正等更新免费获取,不再收费;</li>
</ol>
</div>
</div>
<div class="clearfix"></div>
<div class="grid-2">
<div class="announcement">
<h2>官方公告</h2>
<blockquote>
<p>I’m pleased to announce the availability of a Chinese translation of the Ruby on Rails Tutorial. I’d like to thank translator Andor Chen for his outstanding work. I deserve none of the credit; Andor reached out to me and asked if it was OK to translate the book, and I happily agreed. (All I did was contribute a short preface.) As with the English version, the Chinese translation is available for free online as HTML; with my blessing, Andor is also offering ebook sales of the translation, the proceeds of which go directly to him. If you are a Chinese speaker, please check it out!</p>
<p class="cite">-- <a href="http://news.railstutorial.org/rails-tutorial-chinese-translation/" title="Rails Tutorial Chinese translation" target="_blank">Michael Hartl, Mar 13th, 2013</a></p>
</blockquote>
</div>
<div class="menu">
<h2>目录</h2>
<ol>
<li><a href="author.html" title="作者译者">作者译者</a></li>
<li><a href="preface.html" title="致中国读者">致中国读者</a></li>
<li><a href="foreword.html" title="序">序</a></li>
<li><a href="chapter1.html" title="第 1 章 从零到部署">第 1 章 从零到部署</a></li>
<li><a href="chapter2.html" title="第 2 章 演示生活">第 2 章 演示程序</a></li>
<li><a href="chapter3.html" title="第 3 章 基本静态的页面">第 3 章 基本静态的页面</a></li>
<li><a href="chapter4.html" title="第 4 章 Rails 背后的 Ruby">第 4 章 Rails 背后的 Ruby</a></li>
<li><a href="chapter5.html" title="第 5 章 完善布局">第 5 章 完善布局</a></li>
<li><a href="chapter6.html" title="第 6 章 用户模型">第 6 章 用户模型</a></li>
<li><a href="chapter7.html" title="第 7 章 用户注册">第 7 章 用户注册</a></li>
<li><a href="chapter8.html" title="第 8 章 登录和退出">第 8 章 登录和退出</a></li>
<li><a href="chapter9.html" title="第 9 章 更新、显示和删除用户">第 9 章 更新、显示和删除用户</a></li>
<li><a href="chapter10.html" title="第 10 章 用户的微博">第 10 章 用户的微博</a></li>
<li><a href="chapter11.html" title="第 11 章 用户间互相关注">第 11 章 关注用户</a></li>
</ol>
</div>
<div class="clearfix"></div>
</div>
<div class="also-by">
<div id="railsguides-cn" class="also-by-item clearfix">
<img src="assets/images/railsguidescn.png" width="127" height="164" alt="Rails 指南" />
<h3>Rails 指南</h3>
<p>Rails 指南由 Rails 官方维护,其中的文章都由经验丰富的 Rails 开发者撰写,再经由众多的读者审查,质量非常高。Rails 指南涵盖 Rails 的方方面面,文章内容深入浅出,易于理解,是 Rails 入门、开发的必备参考。</p>
<div class="dropdown">
<a class="btn" data-toggle="dropdown" href="#">购买电子书<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li><a href="https://selfstore.io/products/13" title="到 SelfStore 购买《Rails 指南》">SelfStore(支付宝支付)</a></li>
<li><a href="https://leanpub.com/rails-guides-cn" title="到 Leanpub 购买《Rails 指南》">Leanpub(Paypal 支付)</a></li>
</ul>
</div>
</div>
<div id="everydayrailsrspec-cn" class="also-by-item clearfix">
<img src="assets/images/everydayrailsrspeccn.jpg" width="127" height="164" alt="使用 RSpec 测试 Rails 程序" />
<h3>使用 RSpec 测试 Rails 程序</h3>
<p>你是否开发过一两个 Rails 应用程序,但是却没有编写可靠的测试?你是否只在浏览器中到处点击,就认为测试完成了?亦或者,什么都不做,十指交叉席地祷告程序可以正常运行?在这本书中,我会告诉你我是怎样跨过层层障碍,提升代码的可靠度,避免在浏览器中到处点击,最终节省了大量时间的。</p>
<div class="dropdown">
<a class="btn" data-toggle="dropdown" href="#">购买电子书<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li><a href="https://selfstore.io/products/3" title="到 SelfStore 购买《使用 RSpec 测试 Rails 程序》">SelfStore(支付宝支付)</a></li>
<li><a href="http://www.ituring.com.cn/book/1419" title="到图灵社区购买《使用 RSpec 测试 Rails 程序》">图灵社区(支付宝支付)</a></li>
<li><a href="https://leanpub.com/everydayrailsrspec-cn" title="到 Leanpub 购买《使用 RSpec 测试 Rails 程序》">Leanpub(Paypal 支付)</a></li>
</ul>
</div>
</div>
<div id="deployrails-cn" class="also-by-item clearfix">
<img src="assets/images/deployrailscn.jpg" width="118" height="164" alt="Rails 程序部署之道" />
<h3>Rails 程序部署之道</h3>
<p>如果你花了很多钱把应用程序部署在 Heroku 上,使用本书介绍的工具,可以将其迁移到 VPS 上。如果应用程序已经运行在 VPS 上,但部署的过程不牢靠,有时无法重启,有时加载了错误的代码版本,使用本书提供的模板可以让部署的过程更可靠。</p>
<div class="dropdown">
<a class="btn" data-toggle="dropdown" href="#">购买电子书<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li><a href="https://selfstore.io/products/66" title="到 SelfStore 购买《Rails 程序部署之道》">SelfStore(支付宝支付)</a></li>
<li><a href="https://leanpub.com/deploying_rails_applications-cn" title="到 Leanpub 购买《Rails 程序部署之道》">Leanpub(Paypal 支付)</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="footer">
<p>©2013 <a href="http://about.ac" title="Andor Chen 的个人网站">Andor Chen</a> 保留部分权力。在线阅读版本基于<a href="http://creativecommons.org/licenses/by-sa/3.0/" title="Creative Commons Attribution-ShareAlike 3.0 Unported License" target="_blank">“CC 3.0 BY-SA 协议”</a>发布</p>
</div>
</div>
</body>
</html>