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
高野さん_Rails 5.2 + Vue.js 新サービスを爆速開発.pdf
Search
shuuu-mai
June 01, 2018
540
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
高野さん_Rails 5.2 + Vue.js 新サービスを爆速開発.pdf
shuuu-mai
June 01, 2018
More Decks by shuuu-mai
See All by shuuu-mai
小宮山さん_ドメイン駆動Vuexスライド_改3.pdf
shuumatu_worker
0
540
大畑さん_20180530_shuuumatu-worker_lt_ohata__2_.pdf
shuumatu_worker
0
220
Featured
See All Featured
My Coaching Mixtape
mlcsv
0
360
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
Optimising Largest Contentful Paint
csswizardry
37
4k
Designing for Timeless Needs
cassininazir
1
530
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
The SEO identity crisis: Don't let AI make you average
varn
0
590
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
RailsConf 2023
tenderlove
30
1.6k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Site-Speed That Sticks
csswizardry
13
1.6k
Transcript
3BJMT 7VFKT ৽αʔϏεΛര։ൃ 2018.05.30
ࣗݾհ • 1990( 5#1 '/ • 2014( *+4$%&!&6 • 2014(
,3- ."-2 • 2016( ) 3- WEB2 • Ruby on Rails • Vue.js / Angular / React • SpringBoot (Java) • - 70 2 Twitter: @midwhite Qiita: @takano-h
MatchLab 3
• 3BJMT 7VFKTΛͬͯʮ.BUDI-BCʯΛ ̍ϲ݄ͰϑϧϦχϡʔΞϧͨ࣌͠ͷ͓ • 3BJMT৽ػೳͷ "DUJWF4UPSBHF ΛΘͳ͔ͬͨ
• 7VFY Λͬͨ࣌ͷίϯϙʔωϯτׂͷ • 4FSWJDF8PSLFS Ͱϓογϡ௨ػೳΛ࣮ͨ͠ 4
.&,4/FA • )1 -*3 <:?6 !4'" ;@## • (13$3%(04+24>7
G9B>7 RailsCSRF=E5D H • 8G6C I 5
CPV; • 2)2 (\Rails 5.2 (API Mode) ◦ Rails 5.1
>7 webpacker 5 Vue CLI5 ◦ CSRF=K=A Y6 protect_from_forgery O:Bearer'21SR EI • ,01'1(\Vue.js + Vuex + VueRouter ◦ Vue.js: React H;M .#%(-0*&3LDF BU Angular (TypeScript) HWJ"+2(X?[ ◦ Vuex: React Redux HX?!1-/Store*$21<Q ◦ Facebook OAuth01GN TZ 8@SDKGraph API9I4 6
ActiveStorage 7
• Rails 5.2 PRY • -!3&+46%=ERYUIQF[RY • DB-!3LC=E )6.32]A
◦ active_storage_attachments: GK 1*354$6,LC-!3LC/216- (#`^9 4$6,=E )6.3 ◦ active_storage_blobs: -!3Z:0'LC=E )6.3 ◦ 7X ActiveRecord VM 1*3 81*3`^9 -> N+1BaG? eager_loading GK • -!3=E> DiskS3GCP_N • ImageMagick @T OD5WHRYbmini-magick<Ec ;\ mini-magick Rails 6 *-"3+JS 555 ActiveStoraged 8
ActiveStorage%*/10&( 1. rails active_storage:install %)/1)0 2. storage.yml+$/4)0 3. aws-sdk-s3
/1)0 4. application.rb / environments !' +$/1)0 5. model .- has_one_attached / has_many_attached ,"/1)0 6. #attach(file) # /1)0 9 ࠷ߦͰΞοϓϩʔυػೳΛ࣮ྃ
• !$(" url_for '' &-URL1 • $ 5)2,*#%URL./
ActiveStorage +0354$ 10
• 7GB9; • -/ ,IC@5.$!%@5Disk06>A@5S306 2=8< • ActiveRecord
create / update )"#&1 params[:file] E H #(-/& • ActiveStorage4?JavaScript*'*+D:#(-/&API 3 ActiveStorageF 11
ActiveStorageL; • keyJDIFCS336+*"4$+2.1)+. #38 • url_for /3-60'), controller /
view 7 9 • CloudFront P Q:,0#5BA?EG • URL<R TN. #3!$&% 5=SK>2(#4$+URL MO H@U 12
"& • '! ( DBS3 • aws-sdk-s3
$ # % 13
Vuex 14
-/ 15 • *0+ ' -/ • store #&.
prop #&$ 1 %" )!,(2
ServiceWorker 16
ServiceWorkerPWA 17 • API
• \saTXV • k?.%75:-Q • self %;9;. ServiceWorkerGlobalScope p$0(#& -
&*) Service Worker API Ad • window location document $0(#&-OK v • /",!0 18ZidnyloQ w1+'7rf firebase /",!0H m=Fg x • install activate Pj^CE btNIU • %6+'7_h> Network XHR `LcY • @)32WJ 1+'7rfR \ XD • <S2;4euqB manifest.json M]G[ XV 18
48 19 • 7/)!% %* , .9'3 ☆&2+ ☆
https://app.match-lab.com • 609-:(;#"6$☆ https://www.match-lab.com/cafecon/ • 15 ☆