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
Designing for humans not robots
tammielis
254
26k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
830
The Art of Programming - Codeland 2020
erikaheidi
57
14k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Typedesign – Prime Four
hannesfritz
42
3.2k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
540
The Spectacular Lies of Maps
axbom
PRO
1
1k
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 ☆