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
開発チーム・開発組織の設計改善スキルの向上
masuda220
PRO
17
9.4k
詳解!defer panic recover のしくみ / Understanding defer, panic, and recover
convto
0
200
実用的なGOCACHEPROG実装をするために / golang.tokyo #40
mazrean
1
120
testingを眺める
matumoto
1
130
パッケージ設計の黒魔術/Kyoto.go#63
lufia
3
380
兎に角、コードレビュー
mitohato14
0
160
Claude Codeで挑むOSSコントリビュート
eycjur
0
190
サイトを作ったらNFCタグキーホルダーを爆速で作れ!
yuukis
0
730
Trem on Rails - Prompt Engineering com Ruby
elainenaomi
1
100
Improving my own Ruby thereafter
sisshiki1969
1
140
時間軸から考えるTerraformを使う理由と留意点
fufuhu
6
390
TDD 実践ミニトーク
contour_gara
1
260
Featured
See All Featured
Visualization
eitanlees
147
16k
A designer walks into a library…
pauljervisheath
207
24k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.6k
Designing for humans not robots
tammielis
253
25k
GraphQLとの向き合い方2022年版
quramy
49
14k
Side Projects
sachag
455
43k
RailsConf 2023
tenderlove
30
1.2k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
830
Transcript
������快速上⼿攻略 ������快速上⼿攻略 潘旻琦�孝��
⽇程安排 ������核⼼技� ���分��建博客演⽰ 深⼊学�路��
������核⼼技� 模型:������������� ��:����������� 控制器:����������������� 路由:���������������
������核⼼技� �助:�������������� �件:������������� 前端:��������� 第三⽅�展包
开始之前的提��� 安装有没有��? �建�目有没有��? �建的目���看�了�?
������������� �象关系映射 数据�迁移 数据校� �象⽣命周期管理 �象关�管理 数据��
�象关系映射 类名 表名 ���� ����� �������� ���������� ����� ���� ���
猜⼀猜 � 猜⼀猜 ���� 猜⼀猜
�象关系映射 类名 表名 ���� ����� �������� ���������� ����� ���� ���
���� � �� ���� ��
特殊字段 ��、���� ����������、���������� ������������ ����、������ ������� 保留字(�����������������������)
���� ���、������、������� ���、����、������、����� ������、����������、���������������� �������、������
数据�迁移 ���������������������������������������������� ������������ ��������������������������������� �������������������� ������������������������� ������������������ ������� ����� ���
数据�迁移 ��������������������������������������������������� �������� ��������������������������������� ������������������������������ ������� ����� ���������� ��������������������������������� �������������������������������
������� ����� ���
数据�迁移 �������������������������������� ����������������������� �������������������������������� ������������������������������������������ �������������������������������� ������������������������������������������������ ���������������������� �����������������������������
数据�迁移 ����������������������������� ������������������������������������������� ��������������������������������� ����������������������������������� ������������������������������������ ������ ����������������������������������������� ���������������������������������
数据校� ������������������������������� ��������������������������������������� ��������������������������� ���������������������������������������� ��������������������������������������� ���������������������������������� ������������������������������������������ ������������������������������������� ���������������������������������������������
���������������������������
�象⽣命周期管理 ������������������������������� ������������������������������������������ ��������������������������������������������� ����������� �������������������������������� ������������������� ���������������������������������������������� ��������� �������
���
�象⽣命周期管理���� ����������������� ���������������� ����������� ����������� ������������� ������������� ������������ ����������
�象⽣命周期管理���� ���������������� ���������
�象⽣命周期管理���� ����������������� ���������������� ����������� ����������� ������������� ������������� ������������ ����������
�象⽣命周期管理���� �������������� �������������� �������������
�象关�管理 ���������� ������� �������� ����������������� ���������������� �����������������������
数据�� ������������������������ ������������������������������������������������������� ����������������������� ������������������������������� ��������������������� ������������������������������������������������������� �������������������� ��������������������������������������������������������
数据�� ��������� ��������������������������������� ����������������������������� ������������������������������ �������������������������� ������������� ���������������������������������� ������������������������������ ��������������������������
�����������������������������
数据�� ��������������������������������� ����������������������������� ��������������� ������������� ���������������������������������� ������������������������������ �������������������������� �����������������������������
����������� ���������������� ��主模板���部分模板 ��������������������� ��������
��� �������������������������������� ������������������������������ ������������������������������ ���������
�������� ��������������������������������������������� ����������������������������������������� ������������������������������������������������������ ����������������������������������������������������� ����������������������������������� ������������������������������ ���
主模板���部分模板 �������������������� ��������������������������� ������������������������������������������� ��������������������������������� �������������������������������� ����������������������������������� ���������
������������������� ������ �������� ��������������������������� �������������������������������� ��������� �������� �������������������������������������������������������� ��������� �������
������������������� ������������������������������ ������������������������������������ ���������������������������������� ���������
������ ��������������������������������������������
������ �������������� �������������������������������� �������������������������������� ������������������������������������������ ����� ���
������ ������������������������������������������� ����� ���������
������ ������������������������������ ������������������������������������������ ���������������������������������� ��������������������������������������������������� ��������������������� ������������������������������������ ������������������������������������������������� ����� ���
����������������� �求参数�理 ��器 渲染管理 会�管理
�求参数�理 ������������������������� ��������������������������� ����������� ������������������������������������� ��������������������������������� �������� ����������������������������������� ������� �����
���
��器 ����������������������������� ���������������������������� ������������������������������ ��������� ������������������� ��������������������� ������������������������������������������ ������������������������������� �������
����� ���
渲染管理 ����������������������� ��������������������������� ����������� ��������������������� �������������������������� ���������������������������������� ��������������������������������������� ���������������������������������������� �������
����� ���
会�管理 ��������������������������������������������� �������������������������������� ������������������������������������������ ������������������������������������������ ������������������������ �
��������������� �源路由 非�源路由
�源路由 ������������������⽣成: ��� ������� ������������ ��� ����������� ���������� ���� �������
������������� ��� ����������� ����������� ��� ���������������� ����������� ��������� ����������� ������������� ������ ����������� ��������������
�源路由 �������������������� ��������������� ���������������� ����� �� ����������� ����������������� ����� ���
非�源路由 ��������������������������������� �������������������������������������� ������������������������������������������������ ����������������������������������� ����������������������������������������������� �������������������������������������������� ���������������������
�������������� ���������������������������������� ������������������������������������������ ����� ���
�������������� �������������������������������������������� ��������������������������� ����������������������������� ������������������ ����������������������������������������������� ����������������������������������� ������������������������������
������������� ������������������������������������� ������������������������������������������� ������������������������� ���������������� �������������������������������������� ������������������������� ������������������������������� ����� ���
������������� ���������������������� ����������������������
������������� ���������������������������������������
��������� 静�⽂件���� 清�⽂件�� ��与部署
静�⽂件���� ����������� ����������� �������������
清�⽂件�� ������ ������������������ ���������������������� ������������������
清�⽂件�� 例如: ������������������������������ ������������������������������������ ����������������������������������� �������������������������������������
清�⽂件�� ���������������� ���������������������� ������������������ ��������������������
��与部署 ������������������������������� ������������������������������ ����������������� ��成例如 �������������������������������������� 更改�����������������������������������
第三⽅�展包 分�:�������� 用���:������ 用�授权:������ 上�:���������
第三⽅�展包 后台任�:������� 全⽂搜索:������� ����:��������� 性能��:�����������������
第三⽅�展包 代�⾼亮:������� �控:��� 服�器:���� �作流:���������������
���分��建博客演⽰ ����
深⼊学�路��:⼊门 学�������������:������������������������������ 看�����������������������的��教程 看�《�用��������⾏敏捷�����开�》 ���������写的《��������������實戰聖經》 �《����������������������》:������� ��������������������������
深⼊学�路��:�� ��《������������������������������》了解社区 ⽂化 用�������开�⼀个完整的�目 ��《������格指�》和《�������格指�》 用��������������������:��������������������������� 上������������参与��:�����������������������
深⼊学�路��:⾼� ��⼯程、�展包、框架三类�目的源代� �⼯程�目提交代�,如����������� ��展包�目提交代�,如������� ��������框架提交代� 加⼊����������������