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
670
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
LLMとPlaywright/reg-suitを活用した jQueryリファクタリングの実際
kinocoboy2
4
660
メモリ不足との戦い〜大量データを扱うアプリでの実践例〜
kwzr
1
840
uniqueパッケージの内部実装を支えるweak pointerの話
magavel
0
910
Catch Up: Go Style Guide Update
andpad
0
160
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
120
ABEMAモバイルアプリが Kotlin Multiplatformと歩んだ5年 ─ 導入と運用、成功と課題 / iOSDC 2025
akkyie
0
320
複雑化したリポジトリをなんとかした話 pipenvからuvによるモノレポ構成への移行
satoshi256kbyte
1
760
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
140
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
0
380
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
120
プロダクト開発をAI 1stに変革する〜SaaS is dead時代で生き残るために〜 / AI 1st Product Development
kobakei
0
490
Playwrightはどのようにクロスブラウザをサポートしているのか
yotahada3
7
2.3k
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
95
14k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
How to Think Like a Performance Engineer
csswizardry
27
2k
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Building Applications with DynamoDB
mza
96
6.6k
Gamification - CAS2011
davidbonilla
81
5.5k
It's Worth the Effort
3n
187
28k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
19
1.2k
Transcript
������快速上⼿攻略 ������快速上⼿攻略 潘旻琦�孝��
⽇程安排 ������核⼼技� ���分��建博客演⽰ 深⼊学�路��
������核⼼技� 模型:������������� ��:����������� 控制器:����������������� 路由:���������������
������核⼼技� �助:�������������� �件:������������� 前端:��������� 第三⽅�展包
开始之前的提��� 安装有没有��? �建�目有没有��? �建的目���看�了�?
������������� �象关系映射 数据�迁移 数据校� �象⽣命周期管理 �象关�管理 数据��
�象关系映射 类名 表名 ���� ����� �������� ���������� ����� ���� ���
猜⼀猜 � 猜⼀猜 ���� 猜⼀猜
�象关系映射 类名 表名 ���� ����� �������� ���������� ����� ���� ���
���� � �� ���� ��
特殊字段 ��、���� ����������、���������� ������������ ����、������ ������� 保留字(�����������������������)
���� ���、������、������� ���、����、������、����� ������、����������、���������������� �������、������
数据�迁移 ���������������������������������������������� ������������ ��������������������������������� �������������������� ������������������������� ������������������ ������� ����� ���
数据�迁移 ��������������������������������������������������� �������� ��������������������������������� ������������������������������ ������� ����� ���������� ��������������������������������� �������������������������������
������� ����� ���
数据�迁移 �������������������������������� ����������������������� �������������������������������� ������������������������������������������ �������������������������������� ������������������������������������������������ ���������������������� �����������������������������
数据�迁移 ����������������������������� ������������������������������������������� ��������������������������������� ����������������������������������� ������������������������������������ ������ ����������������������������������������� ���������������������������������
数据校� ������������������������������� ��������������������������������������� ��������������������������� ���������������������������������������� ��������������������������������������� ���������������������������������� ������������������������������������������ ������������������������������������� ���������������������������������������������
���������������������������
�象⽣命周期管理 ������������������������������� ������������������������������������������ ��������������������������������������������� ����������� �������������������������������� ������������������� ���������������������������������������������� ��������� �������
���
�象⽣命周期管理���� ����������������� ���������������� ����������� ����������� ������������� ������������� ������������ ����������
�象⽣命周期管理���� ���������������� ���������
�象⽣命周期管理���� ����������������� ���������������� ����������� ����������� ������������� ������������� ������������ ����������
�象⽣命周期管理���� �������������� �������������� �������������
�象关�管理 ���������� ������� �������� ����������������� ���������������� �����������������������
数据�� ������������������������ ������������������������������������������������������� ����������������������� ������������������������������� ��������������������� ������������������������������������������������������� �������������������� ��������������������������������������������������������
数据�� ��������� ��������������������������������� ����������������������������� ������������������������������ �������������������������� ������������� ���������������������������������� ������������������������������ ��������������������������
�����������������������������
数据�� ��������������������������������� ����������������������������� ��������������� ������������� ���������������������������������� ������������������������������ �������������������������� �����������������������������
����������� ���������������� ��主模板���部分模板 ��������������������� ��������
��� �������������������������������� ������������������������������ ������������������������������ ���������
�������� ��������������������������������������������� ����������������������������������������� ������������������������������������������������������ ����������������������������������������������������� ����������������������������������� ������������������������������ ���
主模板���部分模板 �������������������� ��������������������������� ������������������������������������������� ��������������������������������� �������������������������������� ����������������������������������� ���������
������������������� ������ �������� ��������������������������� �������������������������������� ��������� �������� �������������������������������������������������������� ��������� �������
������������������� ������������������������������ ������������������������������������ ���������������������������������� ���������
������ ��������������������������������������������
������ �������������� �������������������������������� �������������������������������� ������������������������������������������ ����� ���
������ ������������������������������������������� ����� ���������
������ ������������������������������ ������������������������������������������ ���������������������������������� ��������������������������������������������������� ��������������������� ������������������������������������ ������������������������������������������������� ����� ���
����������������� �求参数�理 ��器 渲染管理 会�管理
�求参数�理 ������������������������� ��������������������������� ����������� ������������������������������������� ��������������������������������� �������� ����������������������������������� ������� �����
���
��器 ����������������������������� ���������������������������� ������������������������������ ��������� ������������������� ��������������������� ������������������������������������������ ������������������������������� �������
����� ���
渲染管理 ����������������������� ��������������������������� ����������� ��������������������� �������������������������� ���������������������������������� ��������������������������������������� ���������������������������������������� �������
����� ���
会�管理 ��������������������������������������������� �������������������������������� ������������������������������������������ ������������������������������������������ ������������������������ �
��������������� �源路由 非�源路由
�源路由 ������������������⽣成: ��� ������� ������������ ��� ����������� ���������� ���� �������
������������� ��� ����������� ����������� ��� ���������������� ����������� ��������� ����������� ������������� ������ ����������� ��������������
�源路由 �������������������� ��������������� ���������������� ����� �� ����������� ����������������� ����� ���
非�源路由 ��������������������������������� �������������������������������������� ������������������������������������������������ ����������������������������������� ����������������������������������������������� �������������������������������������������� ���������������������
�������������� ���������������������������������� ������������������������������������������ ����� ���
�������������� �������������������������������������������� ��������������������������� ����������������������������� ������������������ ����������������������������������������������� ����������������������������������� ������������������������������
������������� ������������������������������������� ������������������������������������������� ������������������������� ���������������� �������������������������������������� ������������������������� ������������������������������� ����� ���
������������� ���������������������� ����������������������
������������� ���������������������������������������
��������� 静�⽂件���� 清�⽂件�� ��与部署
静�⽂件���� ����������� ����������� �������������
清�⽂件�� ������ ������������������ ���������������������� ������������������
清�⽂件�� 例如: ������������������������������ ������������������������������������ ����������������������������������� �������������������������������������
清�⽂件�� ���������������� ���������������������� ������������������ ��������������������
��与部署 ������������������������������� ������������������������������ ����������������� ��成例如 �������������������������������������� 更改�����������������������������������
第三⽅�展包 分�:�������� 用���:������ 用�授权:������ 上�:���������
第三⽅�展包 后台任�:������� 全⽂搜索:������� ����:��������� 性能��:�����������������
第三⽅�展包 代�⾼亮:������� �控:��� 服�器:���� �作流:���������������
���分��建博客演⽰ ����
深⼊学�路��:⼊门 学�������������:������������������������������ 看�����������������������的��教程 看�《�用��������⾏敏捷�����开�》 ���������写的《��������������實戰聖經》 �《����������������������》:������� ��������������������������
深⼊学�路��:�� ��《������������������������������》了解社区 ⽂化 用�������开�⼀个完整的�目 ��《������格指�》和《�������格指�》 用��������������������:��������������������������� 上������������参与��:�����������������������
深⼊学�路��:⾼� ��⼯程、�展包、框架三类�目的源代� �⼯程�目提交代�,如����������� ��展包�目提交代�,如������� ��������框架提交代� 加⼊����������������