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
260
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
610
Node 8 and Friends
pmq20
0
200
Moving Node.js and nodec to v8 Ignition
pmq20
0
320
QCon 2017 Beijing Observations
pmq20
0
230
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
200
环境变量为何能让 Ruby 快十倍
pmq20
3
720
Introductions to Node.js internals
pmq20
0
2.1k
How we scaled GitLab for a 30k-employee company
pmq20
6
1.5k
Other Decks in Programming
See All in Programming
クリーンアーキテクチャから見る依存の向きの大切さ
shimabox
2
290
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
Ruby on cygwin 2025-02
fd0
0
140
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
9
1.8k
Grafana Loki によるサーバログのコスト削減
mot_techtalk
1
130
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
230
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
6
4k
個人アプリを2年ぶりにアプデしたから褒めて / I just updated my personal app, praise me!
lovee
0
340
Honoとフロントエンドの 型安全性について
yodaka
7
1.2k
PHPカンファレンス名古屋2025 タスク分解の試行錯誤〜レビュー負荷を下げるために〜
soichi
1
190
Spring gRPC について / About Spring gRPC
mackey0225
0
220
Lottieアニメーションをカスタマイズしてみた
tahia910
0
130
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Faster Mobile Websites
deanohume
306
31k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Code Reviewing Like a Champion
maltzj
521
39k
A better future with KSS
kneath
238
17k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Speed Design
sergeychernyshev
27
790
Done Done
chrislema
182
16k
Become a Pro
speakerdeck
PRO
26
5.1k
Designing Experiences People Love
moore
140
23k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Transcript
������快速上⼿攻略 ������快速上⼿攻略 潘旻琦�孝��
⽇程安排 ������核⼼技� ���分��建博客演⽰ 深⼊学�路��
������核⼼技� 模型:������������� ��:����������� 控制器:����������������� 路由:���������������
������核⼼技� �助:�������������� �件:������������� 前端:��������� 第三⽅�展包
开始之前的提��� 安装有没有��? �建�目有没有��? �建的目���看�了�?
������������� �象关系映射 数据�迁移 数据校� �象⽣命周期管理 �象关�管理 数据��
�象关系映射 类名 表名 ���� ����� �������� ���������� ����� ���� ���
猜⼀猜 � 猜⼀猜 ���� 猜⼀猜
�象关系映射 类名 表名 ���� ����� �������� ���������� ����� ���� ���
���� � �� ���� ��
特殊字段 ��、���� ����������、���������� ������������ ����、������ ������� 保留字(�����������������������)
���� ���、������、������� ���、����、������、����� ������、����������、���������������� �������、������
数据�迁移 ���������������������������������������������� ������������ ��������������������������������� �������������������� ������������������������� ������������������ ������� ����� ���
数据�迁移 ��������������������������������������������������� �������� ��������������������������������� ������������������������������ ������� ����� ���������� ��������������������������������� �������������������������������
������� ����� ���
数据�迁移 �������������������������������� ����������������������� �������������������������������� ������������������������������������������ �������������������������������� ������������������������������������������������ ���������������������� �����������������������������
数据�迁移 ����������������������������� ������������������������������������������� ��������������������������������� ����������������������������������� ������������������������������������ ������ ����������������������������������������� ���������������������������������
数据校� ������������������������������� ��������������������������������������� ��������������������������� ���������������������������������������� ��������������������������������������� ���������������������������������� ������������������������������������������ ������������������������������������� ���������������������������������������������
���������������������������
�象⽣命周期管理 ������������������������������� ������������������������������������������ ��������������������������������������������� ����������� �������������������������������� ������������������� ���������������������������������������������� ��������� �������
���
�象⽣命周期管理���� ����������������� ���������������� ����������� ����������� ������������� ������������� ������������ ����������
�象⽣命周期管理���� ���������������� ���������
�象⽣命周期管理���� ����������������� ���������������� ����������� ����������� ������������� ������������� ������������ ����������
�象⽣命周期管理���� �������������� �������������� �������������
�象关�管理 ���������� ������� �������� ����������������� ���������������� �����������������������
数据�� ������������������������ ������������������������������������������������������� ����������������������� ������������������������������� ��������������������� ������������������������������������������������������� �������������������� ��������������������������������������������������������
数据�� ��������� ��������������������������������� ����������������������������� ������������������������������ �������������������������� ������������� ���������������������������������� ������������������������������ ��������������������������
�����������������������������
数据�� ��������������������������������� ����������������������������� ��������������� ������������� ���������������������������������� ������������������������������ �������������������������� �����������������������������
����������� ���������������� ��主模板���部分模板 ��������������������� ��������
��� �������������������������������� ������������������������������ ������������������������������ ���������
�������� ��������������������������������������������� ����������������������������������������� ������������������������������������������������������ ����������������������������������������������������� ����������������������������������� ������������������������������ ���
主模板���部分模板 �������������������� ��������������������������� ������������������������������������������� ��������������������������������� �������������������������������� ����������������������������������� ���������
������������������� ������ �������� ��������������������������� �������������������������������� ��������� �������� �������������������������������������������������������� ��������� �������
������������������� ������������������������������ ������������������������������������ ���������������������������������� ���������
������ ��������������������������������������������
������ �������������� �������������������������������� �������������������������������� ������������������������������������������ ����� ���
������ ������������������������������������������� ����� ���������
������ ������������������������������ ������������������������������������������ ���������������������������������� ��������������������������������������������������� ��������������������� ������������������������������������ ������������������������������������������������� ����� ���
����������������� �求参数�理 ��器 渲染管理 会�管理
�求参数�理 ������������������������� ��������������������������� ����������� ������������������������������������� ��������������������������������� �������� ����������������������������������� ������� �����
���
��器 ����������������������������� ���������������������������� ������������������������������ ��������� ������������������� ��������������������� ������������������������������������������ ������������������������������� �������
����� ���
渲染管理 ����������������������� ��������������������������� ����������� ��������������������� �������������������������� ���������������������������������� ��������������������������������������� ���������������������������������������� �������
����� ���
会�管理 ��������������������������������������������� �������������������������������� ������������������������������������������ ������������������������������������������ ������������������������ �
��������������� �源路由 非�源路由
�源路由 ������������������⽣成: ��� ������� ������������ ��� ����������� ���������� ���� �������
������������� ��� ����������� ����������� ��� ���������������� ����������� ��������� ����������� ������������� ������ ����������� ��������������
�源路由 �������������������� ��������������� ���������������� ����� �� ����������� ����������������� ����� ���
非�源路由 ��������������������������������� �������������������������������������� ������������������������������������������������ ����������������������������������� ����������������������������������������������� �������������������������������������������� ���������������������
�������������� ���������������������������������� ������������������������������������������ ����� ���
�������������� �������������������������������������������� ��������������������������� ����������������������������� ������������������ ����������������������������������������������� ����������������������������������� ������������������������������
������������� ������������������������������������� ������������������������������������������� ������������������������� ���������������� �������������������������������������� ������������������������� ������������������������������� ����� ���
������������� ���������������������� ����������������������
������������� ���������������������������������������
��������� 静�⽂件���� 清�⽂件�� ��与部署
静�⽂件���� ����������� ����������� �������������
清�⽂件�� ������ ������������������ ���������������������� ������������������
清�⽂件�� 例如: ������������������������������ ������������������������������������ ����������������������������������� �������������������������������������
清�⽂件�� ���������������� ���������������������� ������������������ ��������������������
��与部署 ������������������������������� ������������������������������ ����������������� ��成例如 �������������������������������������� 更改�����������������������������������
第三⽅�展包 分�:�������� 用���:������ 用�授权:������ 上�:���������
第三⽅�展包 后台任�:������� 全⽂搜索:������� ����:��������� 性能��:�����������������
第三⽅�展包 代�⾼亮:������� �控:��� 服�器:���� �作流:���������������
���分��建博客演⽰ ����
深⼊学�路��:⼊门 学�������������:������������������������������ 看�����������������������的��教程 看�《�用��������⾏敏捷�����开�》 ���������写的《��������������實戰聖經》 �《����������������������》:������� ��������������������������
深⼊学�路��:�� ��《������������������������������》了解社区 ⽂化 用�������开�⼀个完整的�目 ��《������格指�》和《�������格指�》 用��������������������:��������������������������� 上������������参与��:�����������������������
深⼊学�路��:⾼� ��⼯程、�展包、框架三类�目的源代� �⼯程�目提交代�,如����������� ��展包�目提交代�,如������� ��������框架提交代� 加⼊����������������