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
利用しているBaaSが終了するときにすべきこと または Parse.com の終了と私たちの取り組み
Search
side_tana
March 04, 2017
12
310k
利用しているBaaSが終了するときにすべきこと または Parse.com の終了と私たちの取り組み
side_tana
March 04, 2017
Tweet
Share
More Decks by side_tana
See All by side_tana
Mackerel Drink Up #9 - Downtime
side_tana
1
2.9k
create_your_own_rc_airplane_controller.pdf
side_tana
0
75
受け手から見たミクシィの新卒研修
side_tana
1
48k
Featured
See All Featured
Designing for Performance
lara
604
68k
Being A Developer After 40
akosma
86
590k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Automating Front-end Workflow
addyosmani
1365
200k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Agile that works and the tools we love
rasmusluckow
327
21k
Adopting Sorbet at Scale
ufuk
73
9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
3
370
Scaling GitHub
holman
458
140k
The Cost Of JavaScript in 2023
addyosmani
45
6.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Transcript
YAPC::Kansai ར༻͍ͯ͠Δ#BB4͕ऴྃ ͢Δͱ͖ʹ͖͢͜ͱ ·ͨ 1BSTFDPNͷऴྃͱࢲͨͪ ͷऔΓΈ 2017-03-04 YAPC::Kansai 1
YAPC::Kansai ֓ཁ 2
YAPC::Kansai #BB4ͷϩοΫΠϯͱ ͳΜͩͬͨͷ͔ 3
YAPC::Kansai ࣗݾհ 4
YAPC::Kansai TJEF@UBOB FOHJOFFS NJYJ JOD 5
YAPC::Kansai OPIBOB ຖ݄ ແྉϑΥτϒοΫ 6
YAPC::Kansai ར༻͍ͯ͠Δ#BB4͕ऴྃ ͢Δͱ͖ʹ͖͢͜ͱ ·ͨ 1BSTFDPNͷऴྃͱࢲͨͪ ͷऔΓΈ 2017-03-04 YAPC::Kansai 7
YAPC::Kansai ΞδΣϯμ w എܠ w #BB4ͷϩοΫΠϯʹ͍ͭͯཧ w ࣮ࡍͷϩοΫΠϯͱͷઓ͍ w ͓ΘΓʹ
8
YAPC::Kansai എܠ 9
YAPC::Kansai 1BSTFDPNͱ 10
YAPC::Kansai 1BSTFDPNͱ w #BB4 #BDLFOEBTB4FSWJDF ͷͻͱͭ w J04 "OESPJE ͦͷଞͭͷϓϥοτϑΥʔϜͰ
ར༻Ͱ͖Δެࣜ4%, w ೝূɺݖݶཧɺ1VTI৴ɺ%#ɺϑΝΠϧ αʔϏεͳͲ w 3&45"1* w "QQMJDBUJPO)PTUJOH )FSPLVΈ͍ͨͳΜ 11
YAPC::Kansai ϊϋφͱ 12
YAPC::Kansai ϊϋφ w ϛΫγΟͷࣾެื੍Ͱ࢝·ͬͨ৽نࣄۀ w ͷ͜ͱͰ͋ͬͨ w ຖ݄ҰແྉͰϑΥτϒοΫ͕࡞Ͱ͖Δ w ͦͷޙࢠձࣾԽ
w լঢ়αʔϏε 13
YAPC::Kansai 1BSTFDPNͷ࠾༻ w ্ཱͪ͛࣌ʹεϐʔυ͕ཁٻ͞Εͨ w ΤϯδχΞ໊ w ࣄۀܧଓՄ൱ͷج४ʮϲ݄ͰαʔϏεΠϯʯ w αʔόʔͷߏஙӡ༻ΑΓΞϓϦʹྗ
w ͍ͭͷ·ʹ͔ຊʢੈքͰ ʣτοϓΫϥεͷ 1BSTFDPNϢʔβʹ 14
YAPC::Kansai 1BSTFDPNͷ࠾༻ w ্ཱͪ͛࣌ʹεϐʔυ͕ཁٻ͞Εͨ w ΤϯδχΞ໊ w ࣄۀܧଓՄ൱ͷج४ʮϲ݄ͰαʔϏεΠϯʯ w αʔόʔͷߏஙӡ༻ΑΓΞϓϦʹྗ
w ͍ͭͷ·ʹ͔ຊʢੈքͰ ʣτοϓΫϥεͷ 1BSTFDPNϢʔβʹ 15 nohana ❤ Parse.com
YAPC::Kansai 1BSTFDPNͷ࠾༻ w ্ཱͪ͛࣌ʹεϐʔυ͕ཁٻ͞Εͨ w ΤϯδχΞ໊ w ࣄۀܧଓՄ൱ͷج४ʮϲ݄ͰαʔϏεΠϯʯ w αʔόʔͷߏஙӡ༻ΑΓΞϓϦʹྗ
w ͍ͭͷ·ʹ͔ຊʢੈքͰ ʣτοϓΫϥεͷ 1BSTFDPNϢʔβʹ 16 nohana ❤ Parse.com ͦ͏Ͱ ͳ͍
YAPC::Kansai ग़͢Δܭը͋ͬͨ w αʔϏεͷಛੑ্ɺ݄ʹෛՙ͕ूத w ݄தͱൺΔͱʙഒ w ݄ʹͳΔͱ1BSTFDPN͕མͪΔ
w ʙेϦΫΤετ͕௨Βͳ͘ͳΔ w ͱ͍͑1BSTFDPNଆؤுͬͯ͘Ε͍ͯͨ w "1*αʔό͕த०ࠒʹ͔ͳΓվળ 17
YAPC::Kansai ͱ͍͑ਏ͍ w 1BSTFDPNͷ%#ʹཷ·͍ͬͯΔϨίʔυͨͪ w (#͙Β͍ w ࣸਅσʔλ w ԯຕ͙Β͍
w 1BSTFDPNͷαʔϏεʹґଘ͍ͯ͠ΔՕॴ w ΠϯετʔϧཧɺϢʔβొɺ1VTIɺ "QQMJDBUJPO)PTUJOHɺ'JMF)PTUJOHɺFUD 18
YAPC::Kansai զʑͣͬͱ ͜ͷϩοΫΠϯ͔Β ग़͢Δํ๏Λ ߟ͑ͯདྷ·ͨ͠ 19
YAPC::Kansai ͜͜ͰϩοΫΠϯʹ ͍ͭͯཧ͠·͢ 20
YAPC::Kansai ػೳʹΑΔϩοΫΠϯ 21
YAPC::Kansai ػೳʹΑΔϩοΫΠϯ w 1BSTFDPNͷ"1* w 1VTIαʔϏε w "QQMJDBUJPO)PTUJOH 7ϕʔε͚ͩͲOPEF ͱҧ͏
w "OBMZUJDT 22
YAPC::Kansai ͍ͭ͜Β࣮͢Ε ͳΜͱ͔ͳΓ·͢ 23
YAPC::Kansai ͍ͭ͜Β࣮͢Ε ͳΜͱ͔ͳΓ·͢ 24 ؾ߹ΛೖΕΖ ࣃΛ৯͍͠Ε
YAPC::Kansai σʔλʹΑΔ ϩοΫΠϯ 25
YAPC::Kansai σʔλʹΑΔϩοΫΠϯ w %#ʹೖ͍ͬͯΔσʔλ w ࣸਅͳͲͷϑΝΠϧ w ͦͷଞαʔϏεΛӡӦ͍ͯ͠Δؒʹཷ·͍ͬͯ͘ ༷ʑͳσʔλ 26
YAPC::Kansai ͍ͭ͜Β ϓϥοτϑΥʔϜͷ ڠྗ͕ඞཁ 27
YAPC::Kansai ຊʹ w 3&45"1*Λୟ͖·͘Εσʔλൈ͚Δ͡ΌΜ w 6QEBUFE"Uͱ͔ΛΩʔʹͯ͠Ҿ͚༨༟༨༟ 28
YAPC::Kansai μϝͳྫ 29
YAPC::Kansai 30 Parse.com Ҡߦઌ Ϣʔβ ࣌ࠁ
YAPC::Kansai 31 Parse.com Ҡߦઌ Ϣʔβ ࣌ࠁ ࡞ σʔλA
YAPC::Kansai 32 Parse.com Ҡߦઌ Ϣʔβ ࡞ σʔλA औಘ σʔλA' ࣌ࠁ
YAPC::Kansai 33 Parse.com Ҡߦઌ Ϣʔβ ࡞ σʔλA औಘ σʔλA' ࣌ࠁ
ߋ৽ σʔλB
YAPC::Kansai 34 Parse.com Ҡߦઌ Ϣʔβ ࡞ σʔλA औಘ ࣌ࠁ ߋ৽
σʔλB औಘ σʔλA' σʔλB'
YAPC::Kansai 35 Parse.com Ҡߦઌ Ϣʔβ ࡞ σʔλA औಘ ࣌ࠁ ߋ৽
σʔλB औಘ σʔλA' σʔλB' ࣌ࠩ͋Δ͕ ΪϦ͍͚Δ ʢ͍͚Δͱ?ʣ
YAPC::Kansai 36 Parse.com Ҡߦઌ Ϣʔβ ࡞ σʔλA औಘ ࣌ࠁ ߋ৽
σʔλB औಘ σʔλA' σʔλB' আ
YAPC::Kansai 37 Parse.com Ҡߦઌ Ϣʔβ ࡞ σʔλA औಘ ࣌ࠁ ߋ৽
σʔλB औಘ σʔλA' আ औಘ σʔλB'
YAPC::Kansai 38 Parse.com Ҡߦઌ Ϣʔβ ࡞ σʔλA औಘ ࣌ࠁ ߋ৽
σʔλB औಘ σʔλA' আ औಘ औಘ σʔλB'
YAPC::Kansai 39 Parse.com Ҡߦઌ Ϣʔβ ࡞ σʔλA औಘ ࣌ࠁ ߋ৽
σʔλB औಘ σʔλA' আ औಘ औಘ σʔλB' আͨ͠ σʔλ͕ Γଓ͚Δ
YAPC::Kansai ͜͏ͯ͠ੈքʹ σʔλෆ߹͕๚Ε·͢ 40
YAPC::Kansai ͜͏ͯ͠ੈքʹ σʔλෆ߹͕๚Ε·͢ 41 զʑઈ͢Δ ͔͠ͳ͍ͷ͔—
YAPC::Kansai Ϣʔβͷೖྗ͔Β ෳͰ͖Ε͍͚Δ 42
YAPC::Kansai 43 App Server Ϣʔβ DB Parse.com Έ App Server
DB Ҡߦઌ
YAPC::Kansai 44 App Server Ϣʔβ DB Parse.com Έ App Server
DB Ҡߦઌ ͜ΕΛࢦ͢
YAPC::Kansai 45 App Server Ϣʔβ DB Parse.com Έ App Server
DB Ҡߦઌ ͋Δ࣌ࠁҎલ ͷσʔλΛ ؾ߹Ͱίϐʔ ۃΊͯ ৴པੑ͕ߴ͍ Queue ͋Δ࣌ࠁҎ߱ͷ ϦΫΤετ
YAPC::Kansai 46 App Server Ϣʔβ DB Parse.com Έ App Server
DB Ҡߦઌ ίϐʔྃ! ۃΊͯ ৴པੑ͕ߴ͍ Queue ͋Δ࣌ࠁҎ߱ͷ ϦΫΤετ
YAPC::Kansai 47 App Server Ϣʔβ DB Parse.com Έ App Server
DB Ҡߦઌ ۃΊͯ ৴པੑ͕ߴ͍ Queue
YAPC::Kansai 48 App Server Ϣʔβ DB Parse.com Έ App Server
DB Ҡߦઌ ۃΊͯ ৴པੑ͕ߴ͍ Queue Ωϡʔ͕ۭʹ ͳΓ·ͨ͠
YAPC::Kansai 49 App Server Ϣʔβ DB Parse.com Έ App Server
DB Ҡߦઌ ۃΊͯ ৴པੑ͕ߴ͍ Queue
YAPC::Kansai 50 App Server Ϣʔβ DB Parse.com Έ App Server
DB Ҡߦઌ
YAPC::Kansai 51 App Server Ϣʔβ DB Parse.com Έ App Server
DB Ҡߦઌ
YAPC::Kansai μϝͰ͢ w ݁ہ%#ͷεφοϓγϣοτ࡞͕ඞཁ w 3&45ܦ༝Ͱͷεφοϓγϣοτ࡞͕࣌ؒ ͔͔Γ͗͢Δ w Ұ൪େ͖͍ςʔϒϧͰ͔͔ΔݟࠐΈ w
શͳTOBQTIPUΛ࡞ΔͨΊʹॻ͖ࠐΈΛࢭ ΊΔඞཁ͕͋Δ w ؒαʔϏεΛࢭΊΔ 52
YAPC::Kansai μϝͰ͢ w ݁ہ%#ͷεφοϓγϣοτ࡞͕ඞཁ w 3&45ܦ༝Ͱͷεφοϓγϣοτ࡞͕࣌ؒ ͔͔Γ͗͢Δ w Ұ൪େ͖͍ςʔϒϧͰ͔͔ΔݟࠐΈ w
શͳTOBQTIPUΛ࡞ΔͨΊʹॻ͖ࠐΈΛࢭ ΊΔඞཁ͕͋Δ w ؒαʔϏεΛࢭΊΔ 53
YAPC::Kansai ϓϥοτϑΥʔϜͷ ڠྗͳ͠Ͱ%#Ҡߦ ͢Δͷશʹमཏ 54
YAPC::Kansai 1BSTFDPN͔Β ൈ͚ग़ͤͳ͍·· ա͢͝ʑ 55
YAPC::Kansai ऴΘΓಥʹ ͬͯདྷ·͢ 56
YAPC::Kansai 2016-01-28 57
YAPC::Kansai 58
YAPC::Kansai 59
YAPC::Kansai ݄ ޙ 1BSTFDPNશऴྃ 60
YAPC::Kansai ͦͯ͠Կ͔ͷ 1BSTFDPNग़͕ ࢝·Δ 61
YAPC::Kansai ਓͷνʔϜͰͬͯ ͍͖·͢ 62
YAPC::Kansai ٫Τϐιʔυͷ ͝հ 63
YAPC::Kansai ͜͜Ͱσʔλͱػೳͱ ͍͏ࢹͰݟ͍͖ͯ·͢ 64
YAPC::Kansai ػೳ໘ͷग़ 65
YAPC::Kansai ػೳ໘ͷग़ w "1* w 1VTI w ϞχλϦϯά w ωοτϫʔΫͱ͔εέʔϦϯάͱ͔
66
YAPC::Kansai "1* w OPEFKTͰ࡞ΒΕͨޓ"1*αʔό͕ར༻Մೳ w QBSTFTFSWFS໊ͬͯલͰ͢ w "QQMJDBUJPO)PTUJOHपΓ͕ͬͭΓ࣮ w 4%,ʹBQJQBSTFDPN͕ຒΊࠐ·ΕͯΔ
w 1BSTFDPN5JQϔομͷ"QQ*EΛݟΔ w ωΠςΟϒΞϓϦͷΓସ͑ʹϦϦʔε͕ඞཁ 67
YAPC::Kansai "1* w OPEFKTͰ࡞ΒΕͨޓ"1*αʔό͕ར༻Մೳ w QBSTFTFSWFS໊ͬͯલͰ͢ w "QQMJDBUJPO)PTUJOHपΓ͕ͬͭΓ࣮ w 4%,ʹBQJQBSTFDPN͕ຒΊࠐ·ΕͯΔ
w 1BSTFDPN5JQϔομͷ"QQ*EΛݟΔ w ωΠςΟϒΞϓϦͷΓସ͑ʹϦϦʔε͕ඞཁ 68
YAPC::Kansai "1* w OPEFKTͰ࡞ΒΕͨޓ"1*αʔό͕ར༻Մೳ w QBSTFTFSWFS໊ͬͯલͰ͢ w "QQMJDBUJPO)PTUJOHपΓ͕ͬͭΓ࣮ w 4%,ʹBQJQBSTFDPN͕ຒΊࠐ·ΕͯΔ
w 1BSTFDPN5JQϔομͷ"QQ*EΛݟΔ w ωΠςΟϒΞϓϦͷΓସ͑ʹϦϦʔε͕ඞཁ 69 ͑ͬ͑ͬ ා͍
YAPC::Kansai ා͘ͳ͍ w ͪΖΜॆ֬ೝ͢Δ w ͱ͍͑͜ͷੈʹશͳ͍ w Ͳ͔͕ͬͿͬյΕͨΒͲ͏͢Δ͔ w ΞϓϦΛ͢PS1BSTFDPNʹ͖ઌΛ͢
w J04ϦϦʔεલʹ৹͕ࠪ͋Γ͕͔͔࣌ؒΔ 70
YAPC::Kansai ઓུΈͬͭ w %/4εΠον࡞ઓ w 1SPYZ࡞ઓ w ϦϞʔτίϯϑΟά࡞ઓ 71
YAPC::Kansai %/4εΠον࡞ઓ 4FMGIPTUJOHͷڥΛߏங͢Δ %/4ͷ55-ΛΊʹ͢Δ %/4ϨίʔυΛॻ͖͑ͯ1BSTFDPNͷڥ͔ ΒࣗͨͪͷڥτϥϑΟοΫΛ͚Δ
☺ 72
YAPC::Kansai %/4εΠον࡞ઓ Γ·ͤΜͰͨ͠ʢΕͳ͔ͬͨʣ w BQJQBSTFDPN͕ཧԼͳΒ͑ͨ w ͘͠1BSTFDPN͕ಠࣗυϝΠϯ 4/*Λαϙʔ τ͍ͯ͠Ε w
Γ͍͢͠͠ͷͰ͑ΔͳΒ͍͍࡞ઓ w 3ͷ%/4ϥϯυϩϏϯͳΒ͔ͳΓॊೈʹ τϥϑΟοΫΛ੍ޚͰ͖Δ w ͷΩϟογϡ੍ޚͰ͖ͳ͍ͷͰෆ͔҆ 73
YAPC::Kansai 1SPYZ࡞ઓ w 1SPYZαʔόΛ༻ҙ w ΞοϓετϦʔϜʹ1BSTFDPNͱ4FMG IPTUJOHͷڥΛ༻ҙ͢Δ w 1SPYZαʔόͰྲྀྔΛௐ͠ͳ͕ΒϦϦʔε 74
YAPC::Kansai 75 Proxy App Parse.com nohana
YAPC::Kansai 76 Proxy App Parse.com nohana զʑ ઃఆ
YAPC::Kansai 77 Proxy App Parse.com nohana զʑ ઃఆ
YAPC::Kansai 1SPYZ࡞ઓ w Βͳ͔ͬͨ w 1SPYZΛߏஙɾݕূ͢Δ༨༟͕ͳ͔ͬͨ w Ҡߦྃ·ͰαʔόΛอ࣋͠ͳ͍ͱ͍͚ͳ͍ w ༨༟͕͋Ε͔ͬͨ
78
YAPC::Kansai ϦϞʔτίϯϑΟά࡞ઓ w J04͜ΕͰΓ·ͨ͠ w ΞϓϦ͔Β֎෦ͷઃఆΛࢀরͤ͞Δ w ઃఆʹैͬͯΤϯυϙΠϯτΛมߋ͢Δ 79
YAPC::Kansai 80 App Parse.com nohana ઃఆ
YAPC::Kansai 81 App Parse.com nohana ઃఆ զʑ
YAPC::Kansai 82 App Parse.com nohana ઃఆ զʑ
YAPC::Kansai ϦϞʔτίϯϑΟά࡞ઓ w ϝϦοτ w ӡ༻͕ඞཁͳίϯϙʔωϯτ͕গͳ͍ w Γ͠Մೳ w σϝϦοτ
w ΞϓϦ։ൃͷ͕͔͔Δ 83
YAPC::Kansai 84
YAPC::Kansai ػೳ໘ͷग़ w "1* w 1VTI w ϞχλϦϯά w ωοτϫʔΫͱ͔εέʔϦϯάͱ͔
85
YAPC::Kansai 1VTIҠߦ ݄͙Β͍͔Βͬͯͨ ʮΑʙ͠1VTIҠߦΔͧʙʯ ʮJ04"1/TͬͯͭͰͰ͖Δͷ͔ʙͳΔ΄ Ͳʙʯ ʮ%FWJDF5PLFO%#ʹೖͬͯΔͭͰʙʯ ʮͰ͖ͨʙʯ 86
YAPC::Kansai 1VTIҠߦ ʮΑʙ͠1VTIҠߦΔͧʙʯ ʮJ04"1/TͬͯͭͰͰ͖Δͷ͔ʙͳΔ΄ Ͳʙʯ ʮ%FWJDF5PLFO%#ʹೖͬͯΔͭͰʙʯ ʮͰ͖ͨʙʯ 87
YAPC::Kansai 1VTIҠߦ ʮΑʙ͠1VTIҠߦΔͧʙʯ ʮJ04"1/TͬͯͭͰͰ͖Δͷ͔ʙͳΔ΄ Ͳʙʯ ʮ%FWJDF5PLFO%#ʹೖͬͯΔͭͰʙʯ ʮͰ͖ͨʙʯ 88 Ͱͳ͍
YAPC::Kansai 1VTIҠߦ ʮ"OESPJE($.ͬͯͭͰͰ͖Δͷ͔ʙʯ ʮ͋Ε%FWJDF5PLFO͕ͳ͍ʯ ʮ4FOEFS*EͷઃఆۭͬΆͩʯ ʮʯ ʮ͑ͬͰ1VTIૹΕͯΔԿ͜Εʯ 89
YAPC::Kansai Կ͕ى͖͍ͯͨͷ͔ w 1BSTFDPNͷ4%,͕͍͍ײ͡ʹͬͯ͘Εͯͨ w %FWJDF5PLFOૹ৴ʹඞཁͳใશͯ 1BSTFDPNͷΞΧϯτ͕ΘΕΔʢͬΆ͍ʣ w ΞΧϯτใ͕ެ։͞ΕͨΓ͠ͳ͍ w
વͰ͢ͳ 90
YAPC::Kansai Ͳ͏ͨ͠ͷ͔ w 1BSTFDPNͷ1VTIͰࣗͷ($.ΞΧϯτ Λར༻͢Δ͜ͱ͕Մೳ w ͷ݄ͷϦϦʔε w ·ͣ($.ରԠ൛ΛϦϦʔε w
ॆਁಁͨ͠ͱ͜ΖͰಠࣗ1VTIΓସ͑ w ·͔͜͞Μͳ͜ͱ͕͋Δͱ 91
YAPC::Kansai ػೳ໘ͷग़ w "1* w 1VTI w ϞχλϦϯά w &MBTUJD4FBSDI
,JCBOB 4UBDLESJWFS w ωοτϫʔΫͱ͔εέʔϦϯάͱ͔ w ($1ͷػೳΛͦͷ··ͬͯ·͢ 92
YAPC::Kansai σʔλͷग़ 93
YAPC::Kansai σʔλͷग़ w %#ͷҠߦ w ϑΝΠϧετϨʔδͷҠߦ 94
YAPC::Kansai %#ͷҠߦ w 1BSTFDPNʹΑΔαϙʔτ w %#ҠߦπʔϧΛग़ͯ͘͠Εͨ w ͪ͜Β.POHP%#Λ༻ҙ 95
YAPC::Kansai %#Ҡߦπʔϧͷڍಈ 96
YAPC::Kansai w 4UFQࠓͷঢ়ଶ 97 API Server Client Parse.com Snapshot DB
parse-server DB Ҡߦઌ
YAPC::Kansai w 4UFQ4OBQTIPUͷ࡞ 98 API Server Client Parse.com parse-server DB
Ҡߦઌ Snapshot DB
YAPC::Kansai w 4UFQ4OBQTIPU͔Βͷίϐʔ 99 API Server Client Parse.com parse-server DB
Ҡߦઌ Snapshot DB
YAPC::Kansai w 4UFQ4OBQTIPUΑΓޙͷσʔλΛಉظ 100 API Server Client Parse.com parse-server DB
Ҡߦઌ Snapshot DB
YAPC::Kansai w 4UFQ%#Γସ͑ 101 API Server Client parse-server DB Ҡߦઌ
Snapshot DB Parse.com
YAPC::Kansai ݕূ ݄ 102
YAPC::Kansai ݕূ ݄ εφοϓγϣοτ͔ΒσʔλΛίϐʔ w ΄΅ͳ͍ .BTUFSͱಉظ w
݁ߏ͕͔͔࣌ؒΔ w ಉظ։͔࢝Β࣌ؒͰࣗಈΩϟϯηϧ %#ͷ͖ઌมߋ w ʢͤͳ͍ͷͰ࣮ࢪͤͣʣ 103
YAPC::Kansai 104
YAPC::Kansai ࣮ࢪ ݄ 105
YAPC::Kansai ࣮ࢪ ݄ 106 ͱʹ͔͘ ࣦഊ ͠·͘Δ!!
YAPC::Kansai ࣮ࢪ ݄ ͱʹ͔ࣦ͘ഊ͠·͘Δ εφοϓγϣοτ͔ΒͷίϐʔͰࣦഊ͢Δ w ϝτϦΫεΛݟΔͱͳ͔ͥ%#ͷ༰ྔ͕ݮΔ w ௨৴ͷࣦഊ͕ى͖Δͱςʔϒϧ୯ҐͰϦτϥΠ
w ϦτϥΠ͕ଓ͘ͱউखʹΩϟϯηϧ͞ΕΔ .BTUFSͱͷಉظʹ͕͔͔࣌ؒΓ·͘Δ w ͰϦτϥΠͨ͠ͿΜ.BTUFSͷਐΈ͕ܹ͍͠ w ಉظ͕ؒʹ߹Θͣ࣌ؒܦաΩϟϯηϧ͞ΕΔ 107
YAPC::Kansai %#.JHSBUJPOͷ࣮ࢪ ݄ εφοϓγϣοτ͔ΒσʔλΛίϐʔ w ΄΅ͳ͍ .BTUFSͱಉظ w
͍ɾΊͬͪΌࣦഊ͢Δ w ࣦഊ͢ΔͱϦτϥΠ͢Δ w ϦτϥΠΛ܁Γฦ࣌ؒ͠ܦաΩϟϯηϧ %#ͷ͖ઌมߋ w 108 2ճࣦഊͨ͠ 3ճͰ ͬͱޭ ☺
YAPC::Kansai σʔλͷग़ w %#ͷҠߦ w ϑΝΠϧετϨʔδͷҠߦ 109
YAPC::Kansai ϑΝΠϧετϨʔδͷҠߦ w πʔϧͳ͍ w ͳ͍ɺͱ͍͏ͱӕ w ͷ݄ʹग़·ͨ͠ w ͰҰ෦ͷڥͰ͑ͳ͔ͬͨ
w ࣗલͰҠߦπʔϧΛ։ൃ͍ͯ͘͠ඞཁ͕͋Δ w ͭ·ΓमཏͰ͢ 110
YAPC::Kansai Ҡߦظͷߏ 111
YAPC::Kansai z 112 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB
YAPC::Kansai z 113 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg
YAPC::Kansai z 114 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg
YAPC::Kansai z 115 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg a.jpg
YAPC::Kansai z 116 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB x.jpg a.jpg x.jpg a.jpg
YAPC::Kansai z 117 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg ϑΝΠϧ໊ ͔͠อଘ ͞Εͳ͍
YAPC::Kansai z 118 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg GET a.jpg
YAPC::Kansai z 119 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg GET a.jpg a.jpg
YAPC::Kansai z 120 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg GET a.jpg a.jpg 404
YAPC::Kansai z 121 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg GET a.jpg a.jpg 404 ࣸਅফ͑ͨΜ Ͱ͚͢Ͳ
YAPC::Kansai z 122 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg
YAPC::Kansai z 123 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg ίίΛಉظ͍ͨ͠ ͜͏͍ͬͨܗΛ ߟ͑·͢
YAPC::Kansai z 124 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg x.jpg a.jpg
YAPC::Kansai z 125 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg x.jpg a.jpg μϒϧϥΠτͩʂ
YAPC::Kansai z 126 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg x.jpg a.jpg
YAPC::Kansai z 127 parse-server Storage Ҡߦઌ Storage Parse.com DB a.jpg
x.jpg a.jpg x.jpg x.jpg a.jpg API Server զʑͷཧ֎ ↓ ! ͜͜ͷ࣮ՃͰ͖ͳ͍ !
YAPC::Kansai z 128 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg ίίΛಉظ͍ͨ͠ զʑઈ͢Δ ͔͠ͳ͍ͷ͔—
YAPC::Kansai z 129 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg x.jpg a.jpg x.jpg ίίΛಉظ͍ͨ͠ զʑઈ͢Δ ͔͠ͳ͍ͷ͔— ͜͜Ͱ࿕ใͰ͢
YAPC::Kansai z 130 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg a.jpg Upload Gateway a.jpg a.jpg a.jpg
YAPC::Kansai z 131 API Server parse-server Storage Ҡߦઌ Storage Parse.com
DB a.jpg a.jpg Upload Gateway a.jpg a.jpg a.jpg ͜Ε͕ͳ͚Ε ϚδͰ ͔ͬͨ
YAPC::Kansai ٫Τϐιʔυऴྃ w ϩοΫΠϯ͔Βͷग़෩ܠΛݟ͖ͯ·ͨ͠ w σʔλ໘ͷग़ w ػೳ໘ͷग़ 132
YAPC::Kansai ͓ΘΓʹ 133
YAPC::Kansai ࠓճग़Ͱ͖ͨͷ 1BSTFDPNͷ͓͔͛ w 1BSTFDPNʹΑΔ%#Ҡߦπʔϧ"1*αʔόͷ ޓ࣮͕ͳ͚Εແཧͩͬͨ w ಛʹσʔλ͕ϚδͰແཧ 134
YAPC::Kansai #BB4ͷར༻आۚʹ͍ۙ w #BB4Λར༻͢Δ͜ͱͰ։ൃظؒͷॖՄೳ w ͱ͘ʹճɺճͷϓϩδΣΫτ w ར༻͠ଓ͚Δͱग़͘͠ͳΔ w σʔλ૿͑ɺґଘ͢Δػೳ૿͍͑ͯ͘
w #BB4ΑΓઌʹαʔϏε͕ऴΘͬͨΒશͳউར 135
YAPC::Kansai ͦΕͰ#BB4Λ͏ͳΒ w "1*ΤϯυϙΠϯτͷυϝΠϯΛཧԼʹஔ͘PS ΤϯυϙΠϯτΓସ͑ͷΈΛೖΕΔ w ࠾༻͢ΔͳΒαʔϏε͕ޭ࢝͠ΊͨΒଈ࠲ʹ٫ ͢ΔͭΓͰܭը͢Δ w ෲΛܾΊΔ
136
YAPC::Kansai ར༻͍ͯ͠Δ#BB4͕ऴྃ ͢Δͱ͖ʹ͖͢͜ͱ ·ͨ 1BSTFDPNͷऴྃͱࢲͨͪ ͷऔΓΈ 2017-03-04 YAPC::Kansai 137