Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Scaffold を読む会
Search
pokotyamu
June 29, 2018
Technology
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Scaffold を読む会
Rails way について説明した。
pokotyamu
June 29, 2018
More Decks by pokotyamu
See All by pokotyamu
エンタメ好きが見る B リーグ
pokotyamu
0
63
アジャイルの知見から新卒研修作り、そして組織作り
pokotyamu
0
270
プロダクト作りと新卒研修作り、そして組織作り
pokotyamu
1
330
アジャイル・スクラム研修2025
pokotyamu
0
680
ふりかえり研修2025
pokotyamu
1
2.1k
新卒交流ワークショップ
pokotyamu
0
950
CTI の基礎コース受けてきた
pokotyamu
1
340
feedforce 青山オフィスへの行き方
pokotyamu
0
390
格ゲーから学ぶコーチング
pokotyamu
1
220
Other Decks in Technology
See All in Technology
TinyGo 開発サイクルを高速化する:Go で作るエミュレータ入門
zozotech
PRO
1
640
synctest時代のhttptest Go 1.27で変わるHTTPサーバテストの裏側 / go conference2026 synctest and httptest
budougumi0617
1
2.7k
Snowflakeで実現する全社横断の顧客の声(VOC)分析・活用基盤@Snowflake World Tour Tokyo 2026
yuto16
0
190
AIに丸投げしないトイル削減 / Eliminating Toil Without Leaving It All to AI
kohbis
4
1.1k
アリアドネの糸と、20年ごとの建て替え ── 長尾真『電子図書館』を、伊勢で読み直す / Rereading Makoto Nagao’s "Electronic Library" in Ise
ykiyota
0
160
KPIだけでは評価できないプロダクトが考えるべき Evalsという第二の評価系 / Beyond KPIs: Evals as a Second Evaluation Framework for Products #PdEConf
aki_iinuma
4
3.9k
薬剤師(ドメインエキスパート)と一緒に育てる薬局向けAIアシスタント
kakehashi
PRO
2
150
module Synths; end
asonas
1
130
AI時代のAPI品質を支えるガードレール / API Guardrails for API quality in the AI era
yokawasa
1
220
OpenTelemetry eBPF Instrumentationの舞台裏 / Behind the Scenes of OpenTelemetry eBPF Instrumentation
ymotongpoo
4
1.1k
20260912_スクラムにジェネラリストは必要か
ryugen04
0
360
Omarchy Quattro の日本語設定周り
simosako
2
150
Featured
See All Featured
Building Adaptive Systems
keathley
44
3.2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
490
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
It's Worth the Effort
3n
188
29k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Embracing the Ebb and Flow
colly
88
5.2k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
530
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Transcript
scaffold ΛಡΉձ 2018.06.29 @pokotyamu
͓લ୭ͳΜʁ ͑ʔͪΌΜͱਃ͠·͢ ▸ ా ӳ༞ @pokotyamu ▸ ৽ଔ3 26ࡀ ▸
Rails Ͱ͝Γ͝Γ։ൃͯ͠·͢ ▸ e-Navigator ͷϨϏϡΞʔͱӡӦͬͯ·͢ ▸ σϚΤ SͱA+Λϩϩ͍ͯ͠ΔΧδϡΞϧ
None
None
None
scaffold ΛಡΉձ 2018.06.29 @pokotyamu
Rails Λ্ख͘ ॻͨ͘Ίʹʁ
ΕʔΔʹͬͯ͜ Rails way ʹΔ͜ͱ্ͦ͜ୡͷ伴 ▸ Rails രͰ Web ΞϓϦέʔγϣϯΛ։ൃ͢ΔͨΊͷ ϑϨʔϜϫʔΫͰ͢
▸ Web ΞϓϦέʔγϣϯΛ࡞Δ্Ͱඞཁͳ͜ͱΛԾఆͯ͠ɺ Α͠ͳʹ࡞ͬͯ͘ΕΔ ▸ ͜ͷԾఆ͕ͦ͜ Rails way (Rails ͷࢥ)
Rails way ͬͯͲΜͳͷ͕͋Δʁ Rails way ΛΖ͏ ▸ ઃఆΑΓن͕༏ઌ(Conversion Over Configuration)
▸ ಉ͜͡ͱΛ܁Γฦ͞ͳ͍(Don’t Repeat Yourself: DRY) ▸ REST(REpresentational State Transfer) ▸ ࣗಈςετ(Test Automation)
Rails way ͬͯͲΜͳͷ͕͋Δʁ Rails way ΛΖ͏ ▸ ઃఆΑΓن͕༏ઌ(Conversion Over Configuration)
▸ ಉ͜͡ͱΛ܁Γฦ͞ͳ͍(Don’t Repeat Yourself: DRY) ▸ REST(REpresentational State Transfer) ▸ ࣗಈςετ(Test Automation)
CoC ઃఆΑΓن ▸ ։ൃऀ͕·ͳ͍Α͏ʹ RoR ͷنʹଇͬͯΞϓϦΛ࡞Δ ▸ ྫɿϢʔβʔΛදݱ͢ΔϞσϧΛ User ͱͨ࣌͠
▸ DBͷςʔϒϧ໊ Users ▸ /users ͱ͍͏ URL ϢʔβʔҰཡΛද͢ ▸ Ϣʔβʔ ID: 1 Λද͢ URL /users/1
Rails way ͬͯͲΜͳͷ͕͋Δʁ Rails way ΛΖ͏ ▸ ઃఆΑΓن͕༏ઌ(Conversion Over Configuration)
▸ ಉ͜͡ͱΛ܁Γฦ͞ͳ͍(Don’t Repeat Yourself: DRY) ▸ REST(REpresentational State Transfer) ▸ ࣗಈςετ(Test Automation) ޙ΄ͲɺσϞΛࠞͥͯઆ໌͠·͢
Rails way ͬͯͲΜͳͷ͕͋Δʁ Rails way ΛΖ͏ ▸ ઃఆΑΓن͕༏ઌ(Conversion Over Configuration)
▸ ಉ͜͡ͱΛ܁Γฦ͞ͳ͍(Don’t Repeat Yourself: DRY) ▸ REST(REpresentational State Transfer) ▸ ࣗಈςετ(Test Automation)
ͦΕʁςετͳ͍ͷʁ ࣗಈςετ ▸ Rails ϓϩδΣΫτΛ࡞ͨ࣌͠ʹɺςετΛ࣮ߦ͢Δڥ ςετίʔυͷܗ͕ੜ͞ΕΔ ▸ ςετՄೳͳঢ়ଶ͕࠷ॳ͔Β༻ҙ͞Ε͍ͯΔʂʂ
ͬͱ؆୯ʹͶ Rails way ʹΔͨΊʹʁ ▸ Rails ίϚϯυΛ͏ʂʂʂʂ
༻๏༻ྔΛकͬͯͶ Rails way ʹΔͨΊʹʁ ▸ Rails ίϚϯυΛ͏ʂʂʂʂ ▸ Rails ίϚϯυΛਖ਼͘͠͏ʂʂʂʂ
▸ ͲΜͳϑΝΠϧ͕Ͱ͖Δͷʁ ▸ ͳͥ͜Μͳॻ͖ํͯ͠Δͷʁ ▸ Ͳ͏֦ு͢ΕΓଓ͚ͭͭॻ͚Δ͔ΛΕΔ
༻๏༻ྔΛकͬͯͶ Rails way ʹΔͨΊʹʁ ▸ Rails ίϚϯυΛ͏ʂʂʂʂ ▸ Rails ίϚϯυΛਖ਼͘͠͏ʂʂʂʂ
▸ ͲΜͳϑΝΠϧ͕Ͱ͖Δͷʁ ▸ ͳͥ͜Μͳॻ͖ํͯ͠Δͷʁ ▸ Ͳ͏֦ு͢ΕΓଓ͚ͭͭॻ͚Δ͔ΛΕΔ ࠇຐज़ʹ͠ͳ͍ʂʂʂ
Scaffold Λࡐʹ Rails ίϚϯυʹ͍ͭͯ ษڧ͢Δձ
·ͣछྨ Rails ίϚϯυͬͯͲΜͳͷ͕͋Δʁ ▸ ͔͜͜ΒλʔϛφϧͰݟͳ͕ΒΓ·͢ɻ ▸ ॱ൪ʹઆ໌ͨ͠ํ͕ྑ͍ͱࢥͬͯɺొஃऀΧϯϖಡΈͳ͕ ΒΔ͚Ͳڐ͍ͯͩ͘͠͞ ▸ Rails
ϓϩδΣΫτΛ࡞͢Δͱ͜Ζ͔Β࢝Ί·͢
ͨͿΜ͖͠Εͨͣ ࠓͷ·ͱΊ ▸ Rails ͷࢥΛͪΌΜͱΖ͏ ▸ ίϚϯυΛࠇຐज़ͱͯ͠Θͳ͍ ▸ ࠓͷ༰Λࢀߟʹɺ։ൃεϐʔυΛ͍͖͋͛ͯ·͠ΐ͏ʂ