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をはじめよう」
Search
Yohei Yasukawa
PRO
May 10, 2015
Education
0
89
Railsガイド「Railsをはじめよう」
Railsガイド - Railsをはじめよう
http://railsguides.jp/getting_started.html
Yohei Yasukawa
PRO
May 10, 2015
Tweet
Share
More Decks by Yohei Yasukawa
See All by Yohei Yasukawa
自己紹介 / who-am-i
yasulab
PRO
2
4.6k
テストも、国際化も! 小中高生クリエータ支援プログラム『未踏ジュニア』を支える技術
yasulab
PRO
1
100
Matz に頼られたので張り切って2時間ほどドイツと日本の互いの Ruby 学習事情についてディスカッションした話
yasulab
PRO
1
570
困ったときのガイドライン / We Support You in Any Situation
yasulab
PRO
2
3.9k
英語学習から海外発表までの流れ
yasulab
PRO
18
4.2k
多様なメンター、多様な基準
yasulab
PRO
4
18k
未踏ジュニア公式情報まとめ / Mitou Junior Highlights for Creators
yasulab
PRO
1
240
多様な分野、多様な世代 / Various Persons on the Earth
yasulab
PRO
0
230
欧州で働き、米国で学び、日本で繋ぐ / Work-Life Balance and Career
yasulab
PRO
2
1.2k
Other Decks in Education
See All in Education
お仕事図鑑pitchトーク
tetsuyaooooo
0
2.3k
Introduction - Lecture 1 - Advanced Topics in Big Data (4023256FNR)
signer
PRO
1
1.7k
とある EM の初めての育休からの学び
clown0082
1
1.3k
Tips for the Presentation - Lecture 2 - Advanced Topics in Big Data (4023256FNR)
signer
PRO
0
200
The Prison Industrial Complex by Billy Dee
oripsolob
0
640
Unraveling JavaScript Prototypes
debug_mode
0
150
1106
cbtlibrary
0
450
Web 2.0 Patterns and Technologies - Lecture 8 - Web Technologies (1019888BNR)
signer
PRO
0
2.6k
Da Necessidade da Devoção à Virgem Santíssima
cm_manaus
0
120
Monaca Education 活用事例セミナー:「年間通してMonaca Educationを活用する授業実践のご報告」
asial_edu
0
110
Prógram La Liberazione
olafurtr90
0
160
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
2.7k
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
244
12k
A Tale of Four Properties
chriscoyier
158
23k
Why Our Code Smells
bkeepers
PRO
336
57k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Docker and Python
trallard
44
3.3k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
Designing for humans not robots
tammielis
250
25k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Unsuck your backbone
ammeep
669
57k
Transcript
RailsΛ͡ΊΑ͏ Railsղઆηϛφʔ http://railsguides.jp/ by ϠεϥϘ
ηϛφʔΛ ࢝ΊΔલʹ
ߨࢣͷλʔϛφϧԼه URL ͔ΒӾཡͰ͖·͢ :) http://screenx.tv/yasulab ߨٛதʹࢀরͨ͠ϦϯΫίϝϯτཝͰ (࣭͓ؾܰʹ)
࣭͍ͭͰ͓ؾܰʹ! ݸผ૬ஊٳܜऴྃޙʹ :)
Ready?
ղઆηϛφʔΛ ਐΊ͍͖ͯ·͠ΐ͏!
RailsΛ͡ΊΑ͏ Railsղઆηϛφʔ http://railsguides.jp/ by ϠεϥϘ
RailsΨΠυͱʁ • தڃऀʙ্ڃऀ͚ͷେܕϦϑΝϨϯε • ಡΈਐΊΔॱ൪ಛʹͳ͘ɺػೳຖʹղઆ: • e.g. Active Record ͷجૅɺόϦσʔγϣϯ
• e.g. Action View ͷ֓ཁɺϑΥʔϜϔϧύʔ • e.g. Action Controller ͷ֓ཁɺϧʔςΟϯά • ྫ֎: RailsΛ͡ΊΑ͏ → Rails νϡʔτϦΞϧ • Σϒ൛શฤແྉ! http://railsguides.jp/
ຊষͷ·ͱΊ RailsΛ͡ΊΑ͏ http://railsguides.jp/getting_started.html
ୈઅʙୈઅ • ରಡऀ • Railsͷֶ • RailsͷηοτΞοϓ • ৽نϓϩδΣΫτ࡞ •
“Welcome Abroad” ·Ͱ
ୈઅ • RailsνϡʔτϦΞϧͷ ୈ2ষʙୈ9ষΛ(ڧҾʹ) 1ͭʹ·ͱΊͨষ. • νϡʔτϦΞϧΛಡΜ ͩਓʹͱͬͯ෮शʹ, ͜Ε͔ΒಡΉਓʹͱͬ ͯ
Rails ͷงғؾΛମ ݧͰ͖ΔΑ͏ͳߏ.
Model-View-Controller (MVC) ΞʔΩςΫνϟͷ֓೦ਤ Router Controller View Model Database Req. HTML
ୈ3ষ ୈ5ষ ୈ6ষ ୈ4ষ
Model-View-Controller (MVC) ΞʔΩςΫνϟͷ֓೦ਤ Router Controller View Model Database Req. HTML
ຊΨΠυ
• લʹॻ͍͍͖ͯ·͢ • RESTΞʔΩςΫνϟΛαΫοͱߏஙͯ͠Έͯ, RailsͷϑΥϧμߏΞϓϦέʔγϣϯͷ֓ཁ ΛͳΜͱͳ͘Ѳ͢Δ. • ޙʮϨʔϧʹͬͯʯॻ͍͍͖ͯ·͢ • Scaffold
ίϚϯυͰࠇຐज़Λମݧͯ͠ΈΔ • scaffold͕ԿΛ͍ͯ͠Δ͔ཧղ͠ͳͯ͘େৎ. ৄࡉRailsνϡʔτϦΞϧͰղઆ͞Ε͍ͯ·͢. େࣄ!! ߏ3BJMTνϡʔτϦΞϧͱେମҰॹ
ୈઅ • RailsνϡʔτϦΞϧͷ ୈ2ষʙୈ9ষΛ(ڧҾʹ) 1ͭʹ·ͱΊͨষ. • νϡʔτϦΞϧΛಡΜ ͩਓʹͱͬͯ෮शʹ, ͜Ε͔ΒಡΉਓʹͱͬ ͯ
Rails ͷงғؾΛମ ݧͰ͖ΔΑ͏ͳߏ.
͔͜͜Β࣮ࡍʹ ϥΠϒίʔσΟϯά ܗࣜͰղઆ͠·͢
• ࠓ scaffold Λͬͯ ͏̍ͭϞσϧΛ࡞ • ϞσϧΛؔ࿈͚ͨΓ, ϦϑΝΫλϦϯάͨ͠Γ ͯ͠Έ·͢ •
࠷ޙʹηΩϡϦςΟ, ࢀߟࢿྉͳͲͷམึर͍. ୈઅʙ࠷ऴઅ
͓ർΕ༷Ͱͨ͠
ຊষͷ·ͱΊ RailsΛ͡ΊΑ͏ http://railsguides.jp/getting_started.html
RailsΨΠυͱʁ • தڃऀʙ্ڃऀ͚ͷେܕϦϑΝϨϯε • ಡΈਐΊΔॱ൪ಛʹͳ͘ɺػೳຖʹղઆ: • e.g. Active Record ͷجૅɺόϦσʔγϣϯ
• e.g. Action View ͷ֓ཁɺϑΥʔϜϔϧύʔ • e.g. Action Controller ͷ֓ཁɺϧʔςΟϯά • ྫ֎: RailsΛ͡ΊΑ͏ → Rails νϡʔτϦΞϧ • Σϒ൛શฤແྉ! http://railsguides.jp/
ࢀߟใ
Rails νϡʔτϦΞϧ http://railstutorial.jp/
Model-View-Controller (MVC) ΞʔΩςΫνϟͷ֓೦ਤ Router Controller View Model Database Req. HTML
ୈ2ষ
͓Βͤ
CoEdo.rb ࠙ձ https://coedo-rails.doorkeeper.jp/events/23803 ࠓ !
ηϛφʔࢀՃճʹԠͯ͡Լ͛
ࠓޙͷਐΊํ • ڹ͕͋ΔݶΓɼܧଓతʹ࣮ࢪ͍͖ͯ͠·͢. • ࠓޙͷղઆηϛφʔͷεέδϡʔϧ → ৄࡉ: http://railstutorial.jp/seminars • ܽ੮࣌εΫϦʔϯΩϟετͰิͰ͖·͢
:) → ৄࡉ: http://४උத • Ξϯέʔτͷ͝ճʹڠྗ͍ͩ͘͞ ίϝϯτཝʹURLΛష͚·͢ :-) ※ ΞϯέʔτʹճΛૹ৴͢Δͱ, ɹಛయಈըͷใ͕දࣔ͞Ε·͢.
ୈ2ষ σϞΞϓϦέʔγϣϯ #RailsνϡʔτϦΞϧ http://railstutorial.jp/ Railsղઆηϛφʔ by ϠεϥϘ 3VCZPO3BJMTνϡʔτϦΞϧ ࣮ྫΛͬͯ3BJMTΛֶ΅͏ .JDIBFM)BSUM
ϚΠέϧɾϋʔτϧ
RailsΛ͡ΊΑ͏ Railsղઆηϛφʔ http://railsguides.jp/ by ϠεϥϘ