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でWebサービス作った流れ
Search
あんはる
February 03, 2018
Programming
0
1.6k
RailsでWebサービス作った流れ
あんはる
February 03, 2018
Tweet
Share
More Decks by あんはる
See All by あんはる
JKが接触確認アプリに貢献した話
haruan2394
0
960
Webサービスたぐまるの紹介
haruan2394
0
140
たぐまるの紹介 創作展
haruan2394
0
86
JCがバーチャルLT会を開いた話
haruan2394
0
120
あんはるが開発中の新サービス 「たぐまる」
haruan2394
1
330
Other Decks in Programming
See All in Programming
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
return文におけるstd::moveについて
onihusube
1
1.2k
快速入門可觀測性
blueswen
0
380
17年周年のWebアプリケーションにTanStack Queryを導入する / Implementing TanStack Query in a 17th Anniversary Web Application
saitolume
0
250
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
480
Amazon S3 NYJavaSIG 2024-12-12
sullis
0
100
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
840
MCP with Cloudflare Workers
yusukebe
2
220
Zoneless Testing
rainerhahnekamp
0
120
Effective Signals in Angular 19+: Rules and Helpers
manfredsteyer
PRO
0
110
Security_for_introducing_eBPF
kentatada
0
110
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
181
21k
YesSQL, Process and Tooling at Scale
rocio
169
14k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
We Have a Design System, Now What?
morganepeng
51
7.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Typedesign – Prime Four
hannesfritz
40
2.4k
Fireside Chat
paigeccino
34
3.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
Documentation Writing (for coders)
carmenintech
66
4.5k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Transcript
Ruby on RailsͰ WebαʔϏεΛ࡞ΔྲྀΕ 2݄̏ୈ̔ճֶੜLT
ࣗݾհ
͋ΜΔ ·ͩɺதֶੜ……. WebͱIoT͕͖ʂ ͑ΔݴޠɹɾɾɾɹRuby,JavaScript(Webܥ),Python(গ͠),C(গ͠) ͑Δͷɹɹɹɹɾɾɾ Ruby on Rails, WEBܥ(HTML/CSS), Raspberry
pi,Arduino ͜Ε͔ΒΓ͍ͨ͜ͱReact.js(ϑϩϯτڧԽ),ػցֶश(Python) Tech:ExpertΛडߨͯ͠·͢ɻ @haru_programing ɹ http://https://github.com/anharu2394 http://qiita.com/haruan2394 http://programing-haru.hatenablog.com
PCN͜ͲϓϩίϯʹԠื͠·ͨ͠ Lib-log! RailsͰ࡞ͬͨαʔϏε http:// intense- waters-57765.herokuapp.com εϚʔτປ Raspberry piΛͬͯIoTͱປΛ ֻ͚߹ΘͤͯΈ·ͨ͠ʂ
ਭΛهͰ͖ɺΞϥʔϜػೳ ͍ͭͯ৸ࢭʂ ̎࡞Ԡืͨ͠Βɺ̎࡞ϊϛωʔτ͞Εͨ· ͨ͠ɻ(http://pcn.club/contest/nominate.html) ࠷ऴ৹ࠪɾදজ̎/̎̑
ຊ..
Ruby on Rails !!!
Ruby on Rails !!!ͬͯΔਓʁ
Ruby on Railsͱ • RubyͰॻ͚ΔWebΞϓϦέʔγϣϯϑϨʔϜϫʔΫɻ • ຊͰɺ͜͜ͷFreee, Cookpad,৯ϩά, CrowdWorks,etc.. ଟ͘ͷαʔϏεRailsͰ࡞ΒΕ͍ͯ·͢ɻ
ϝϦοτ • ໊લ௨ΓϨʔϧΛෑ͔ΕͨΑ͏ʹɺن͕ଟ͋͘Γ։ൃ͢Δ্ Ͱ͋·ΓࣗͰߟ͑ͣʹॻ͚·͢ɻੜ࢈ੑ͕͋Γ·͢ɻ • υΩϡϝϯτ͕ଟ͍ͷͰɺτϥϒϧ͕ى͖ͨͱ͖͙͢ʹղܾ Ͱ͖·͢ɻ σϝϦοτ • ੍͕ΊΜͲ͍͘͞ͱײ͡Δਓ͍Δ͔ɻ
• ࣮ߦ͕Ίɻ
ͦΕΛ౿·͑ͯ..
Ruby on RailsͰ WebαʔϏεΛ ࡞ΔྲྀΕΛ հ͠·͢ʂ
࡞ͬͨWebαʔϏε Lib-Log! URL:http:// intense- waters-57765.herokuapp.com GitHub:https://github.com/ anharu2394/lib-log
͜ΜͳྲྀΕͰ࡞Γ·ͨ͠ʂʂ ൃҊ DBઃܭ ։ൃ όοΫΤϯυ ։ൃ ϑϩϯτΤϯυ
ൃҊ • ຊ͕͖ͳͷͰಡॻ͕շదʹͳΔαʔϏεɺ໘ന͍ຊ͕ݟ͔ͭ ΔαʔϏεΛ࡞Γ͍ͨͱࢥͬͯLib-Log!ΛൃҊͨ͠ɻ ൃҊͷϙΠϯτɺ શ͘ҧ͏ͷΛΈ߹ΘͤͯΈͨΓɺͬͱศརʹͯ͠ߦ͖͍ͨ ͱ͍͏͜ͱΛΞΠσΞʹ͢Δ͜ͱͩͱࢥ͍·͢ɻ
DBઃܭ • Userςʔϒϧ • UserDetailςʔϒϧ • Bookςʔϒϧ • Reviewςʔϒϧ
DBઃܭ DBઃܭͰ͢ΔWebαʔϏεͷύϑΥʔϚϯεมΘΔͷͰ ࣌ؒΛ͔͚ͯͬͨ΄͏͕͍͍Ͱ͢ɻ ͍͔ʹແବΛͳ͔͕͘͢େͰ͢ɻ
όοΫΤϯυ • DBઃܭ௨ΓɺController,ModelΛ࡞ΓɺΞιγΤʔγϣϯɺόϦ σʔγϣϯΛߦ͏ɻ͜ͷลϨʔϧʹෑ͔ΕͨΑ͏ʹεϥεϥ Ͱ͖·͢ɻ • Lib-LogͰΊΜͲ͔ͬͨ͘͞ͷɺϥϯΩϯάػೳɻੑผɺྸ ผͱ͔Ε͍ͯΔͷͰɺগ͕͔͔࣌ؒ͠Γ·ͨ͠ɻ • ϩάΠϯػೳɺdeviseͰ࡞ΓɺGoogleೝূগ͠खͣ͜Γ·
ͨ͠ɻ
ϑϩϯτΤϯυ • खൈ͖ϑϩϯτΤϯυͰ͢ɻ • BootstrapͰͬ͞͞ͱͬͨɻ • JavaScriptΛҰͬͯͳ͍w
ൃҊʙϑϩϯτΤϯυ·Ͱ ͔͔ͬͨ࣌ؒ..
̏ʂʂ ʢՆٳΈͷʣ
Q.ͳΜͰ͍͖ͳΓதֶੜ͕RailsͰWebαʔϏε ࡞ͬͨͷʁ A.Tech::Camp͍͏ςΫϊϩδʔεΫʔϧͷҰिؒίʔεΛडߨ͠ ͨʂ ̐ؒɹˠ HTML/CSS Railsֶश ̏ؒɹˠ ΦϦδφϧαʔϏε࡞Γ ָ͗͢͠·ͨ͠ɻࠓ·ͰϓϩάϥϛϯάΛຊ֨తʹͬͨ͜ͱ͕
ͳ͔ͬͨ͠ɺҰिؒͰΤϯδχΞʹͳͬͨؾʹͳΓ·ͨ͠ɻ
ͭ·Γ..
RailsͰWebαʔϏεखܰ ʹ ָ͘͠Ͱ͖·͢ɻ ͥͻɺ ࡞ͬͯΈ͍ͯͩ͘͞ɻ
͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠