Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Rails 快速上手攻略(Rails Getting Started)
Search
Minqi Pan
September 03, 2014
Programming
2
270
Rails 快速上手攻略(Rails Getting Started)
Minqi Pan
September 03, 2014
Tweet
Share
More Decks by Minqi Pan
See All by Minqi Pan
RubyConf 2017: Packing your Ruby application into a single executable
pmq20
1
660
Node 8 and Friends
pmq20
0
240
Moving Node.js and nodec to v8 Ignition
pmq20
0
360
QCon 2017 Beijing Observations
pmq20
0
270
Node.js Compiler: compiling your Node.js application into a single executable
pmq20
5
25k
Enclose.IO: current cutting-edges and the future work
pmq20
0
240
环境变量为何能让 Ruby 快十倍
pmq20
3
760
Introductions to Node.js internals
pmq20
0
2.1k
How we scaled GitLab for a 30k-employee company
pmq20
6
1.6k
Other Decks in Programming
See All in Programming
testingを眺める
matumoto
1
130
ProxyによるWindow間RPC機構の構築
syumai
2
560
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
19
4.2k
奥深くて厄介な「改行」と仲良くなる20分
oguemon
1
250
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
0
230
UbieのAIパートナーを支えるコンテキストエンジニアリング実践
syucream
2
800
Ruby Parser progress report 2025
yui_knk
1
260
Kiroの仕様駆動開発から見えてきたAIコーディングとの正しい付き合い方
clshinji
1
190
CJK and Unicode From a PHP Committer
youkidearitai
PRO
0
100
The state patternの実践 個人開発で培ったpractice集
miyanokomiya
0
160
私の後悔をAWS DMSで解決した話
hiramax
4
180
詳解!defer panic recover のしくみ / Understanding defer, panic, and recover
convto
0
210
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
5.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
111
20k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
How GitHub (no longer) Works
holman
315
140k
Optimizing for Happiness
mojombo
379
70k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Faster Mobile Websites
deanohume
309
31k
Unsuck your backbone
ammeep
671
58k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Transcript
������快速上⼿攻略 ������快速上⼿攻略 潘旻琦�孝��
⽇程安排 ������核⼼技� ���分��建博客演⽰ 深⼊学�路��
������核⼼技� 模型:������������� ��:����������� 控制器:����������������� 路由:���������������
������核⼼技� �助:�������������� �件:������������� 前端:��������� 第三⽅�展包
开始之前的提��� 安装有没有��? �建�目有没有��? �建的目���看�了�?
������������� �象关系映射 数据�迁移 数据校� �象⽣命周期管理 �象关�管理 数据��
�象关系映射 类名 表名 ���� ����� �������� ���������� ����� ���� ���
猜⼀猜 � 猜⼀猜 ���� 猜⼀猜
�象关系映射 类名 表名 ���� ����� �������� ���������� ����� ���� ���
���� � �� ���� ��
特殊字段 ��、���� ����������、���������� ������������ ����、������ ������� 保留字(�����������������������)
���� ���、������、������� ���、����、������、����� ������、����������、���������������� �������、������
数据�迁移 ���������������������������������������������� ������������ ��������������������������������� �������������������� ������������������������� ������������������ ������� ����� ���
数据�迁移 ��������������������������������������������������� �������� ��������������������������������� ������������������������������ ������� ����� ���������� ��������������������������������� �������������������������������
������� ����� ���
数据�迁移 �������������������������������� ����������������������� �������������������������������� ������������������������������������������ �������������������������������� ������������������������������������������������ ���������������������� �����������������������������
数据�迁移 ����������������������������� ������������������������������������������� ��������������������������������� ����������������������������������� ������������������������������������ ������ ����������������������������������������� ���������������������������������
数据校� ������������������������������� ��������������������������������������� ��������������������������� ���������������������������������������� ��������������������������������������� ���������������������������������� ������������������������������������������ ������������������������������������� ���������������������������������������������
���������������������������
�象⽣命周期管理 ������������������������������� ������������������������������������������ ��������������������������������������������� ����������� �������������������������������� ������������������� ���������������������������������������������� ��������� �������
���
�象⽣命周期管理���� ����������������� ���������������� ����������� ����������� ������������� ������������� ������������ ����������
�象⽣命周期管理���� ���������������� ���������
�象⽣命周期管理���� ����������������� ���������������� ����������� ����������� ������������� ������������� ������������ ����������
�象⽣命周期管理���� �������������� �������������� �������������
�象关�管理 ���������� ������� �������� ����������������� ���������������� �����������������������
数据�� ������������������������ ������������������������������������������������������� ����������������������� ������������������������������� ��������������������� ������������������������������������������������������� �������������������� ��������������������������������������������������������
数据�� ��������� ��������������������������������� ����������������������������� ������������������������������ �������������������������� ������������� ���������������������������������� ������������������������������ ��������������������������
�����������������������������
数据�� ��������������������������������� ����������������������������� ��������������� ������������� ���������������������������������� ������������������������������ �������������������������� �����������������������������
����������� ���������������� ��主模板���部分模板 ��������������������� ��������
��� �������������������������������� ������������������������������ ������������������������������ ���������
�������� ��������������������������������������������� ����������������������������������������� ������������������������������������������������������ ����������������������������������������������������� ����������������������������������� ������������������������������ ���
主模板���部分模板 �������������������� ��������������������������� ������������������������������������������� ��������������������������������� �������������������������������� ����������������������������������� ���������
������������������� ������ �������� ��������������������������� �������������������������������� ��������� �������� �������������������������������������������������������� ��������� �������
������������������� ������������������������������ ������������������������������������ ���������������������������������� ���������
������ ��������������������������������������������
������ �������������� �������������������������������� �������������������������������� ������������������������������������������ ����� ���
������ ������������������������������������������� ����� ���������
������ ������������������������������ ������������������������������������������ ���������������������������������� ��������������������������������������������������� ��������������������� ������������������������������������ ������������������������������������������������� ����� ���
����������������� �求参数�理 ��器 渲染管理 会�管理
�求参数�理 ������������������������� ��������������������������� ����������� ������������������������������������� ��������������������������������� �������� ����������������������������������� ������� �����
���
��器 ����������������������������� ���������������������������� ������������������������������ ��������� ������������������� ��������������������� ������������������������������������������ ������������������������������� �������
����� ���
渲染管理 ����������������������� ��������������������������� ����������� ��������������������� �������������������������� ���������������������������������� ��������������������������������������� ���������������������������������������� �������
����� ���
会�管理 ��������������������������������������������� �������������������������������� ������������������������������������������ ������������������������������������������ ������������������������ �
��������������� �源路由 非�源路由
�源路由 ������������������⽣成: ��� ������� ������������ ��� ����������� ���������� ���� �������
������������� ��� ����������� ����������� ��� ���������������� ����������� ��������� ����������� ������������� ������ ����������� ��������������
�源路由 �������������������� ��������������� ���������������� ����� �� ����������� ����������������� ����� ���
非�源路由 ��������������������������������� �������������������������������������� ������������������������������������������������ ����������������������������������� ����������������������������������������������� �������������������������������������������� ���������������������
�������������� ���������������������������������� ������������������������������������������ ����� ���
�������������� �������������������������������������������� ��������������������������� ����������������������������� ������������������ ����������������������������������������������� ����������������������������������� ������������������������������
������������� ������������������������������������� ������������������������������������������� ������������������������� ���������������� �������������������������������������� ������������������������� ������������������������������� ����� ���
������������� ���������������������� ����������������������
������������� ���������������������������������������
��������� 静�⽂件���� 清�⽂件�� ��与部署
静�⽂件���� ����������� ����������� �������������
清�⽂件�� ������ ������������������ ���������������������� ������������������
清�⽂件�� 例如: ������������������������������ ������������������������������������ ����������������������������������� �������������������������������������
清�⽂件�� ���������������� ���������������������� ������������������ ��������������������
��与部署 ������������������������������� ������������������������������ ����������������� ��成例如 �������������������������������������� 更改�����������������������������������
第三⽅�展包 分�:�������� 用���:������ 用�授权:������ 上�:���������
第三⽅�展包 后台任�:������� 全⽂搜索:������� ����:��������� 性能��:�����������������
第三⽅�展包 代�⾼亮:������� �控:��� 服�器:���� �作流:���������������
���分��建博客演⽰ ����
深⼊学�路��:⼊门 学�������������:������������������������������ 看�����������������������的��教程 看�《�用��������⾏敏捷�����开�》 ���������写的《��������������實戰聖經》 �《����������������������》:������� ��������������������������
深⼊学�路��:�� ��《������������������������������》了解社区 ⽂化 用�������开�⼀个完整的�目 ��《������格指�》和《�������格指�》 用��������������������:��������������������������� 上������������参与��:�����������������������
深⼊学�路��:⾼� ��⼯程、�展包、框架三类�目的源代� �⼯程�目提交代�,如����������� ��展包�目提交代�,如������� ��������框架提交代� 加⼊����������������