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
SPAの論点
Search
KON YUICHI
October 24, 2016
Technology
1
1.9k
SPAの論点
SPA Service Summit Vol1 @GoodPatch
KON YUICHI
October 24, 2016
Tweet
Share
More Decks by KON YUICHI
See All by KON YUICHI
負債かも委員会
konpyu
2
1.6k
ソフトウェアエンジニアの仕事
konpyu
0
2.5k
コンテンツ配信とSPA
konpyu
3
3.9k
Redshiftハンズオン
konpyu
0
1.8k
Other Decks in Technology
See All in Technology
Amplify Gen 2ではじめる 生成AIアプリ開発入門
tsukuboshi
0
400
Microsoft 365 でデータセキュリティを強化しよう
sophiakunii
2
470
AWS DDKを利用したDataOps事始め
beex
1
170
外部カンファレンスで登壇しよう! 〜「強い」エンジニアへの一歩を踏み出す〜
logica0419
4
130
XSS攻撃から考察するAWS設定不備の恐怖/20241012 Hironobu Otaki
shift_evolve
0
130
Unlearn Modularity
lemiorhan
6
300
Japan AWS Jr. Championsがお届けする、アウトプットのすすめ
hamijay_cloud
0
200
Covariance, Contravariance & Diamond
alexdaubois
1
110
プログラミング写経のすすめ
natsutan
0
160
SageMaker学習のツボ / The Key Points of Learning SageMaker
cmhiranofumio
0
280
サーバレスで挑む IoT プロジェクトの現実解 / Real solutions for the IoT project using serverless service
genkiogasawara
1
120
塩野義製薬様のAWS統合管理戦略:Organizations設計と運用の具体例
tkikuchi
0
310
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Fireside Chat
paigeccino
32
3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
The World Runs on Bad Software
bkeepers
PRO
65
11k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
46
4.9k
Become a Pro
speakerdeck
PRO
24
4.9k
GitHub's CSS Performance
jonrohan
1030
450k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Designing the Hi-DPI Web
ddemaree
280
34k
Why Our Code Smells
bkeepers
PRO
334
57k
Unsuck your backbone
ammeep
668
57k
The Cult of Friendly URLs
andyhume
77
6k
Transcript
41"ͷ !LPOQZV
ࣗݾհ !LPOQZV,0/:VJDIJ $501JFDFPGDBLF *OD "84ͷ͓कΓɺ3BJMTॻ͖ɺ։ൃ ڥඋɺອըඳ͖ͳͲ IUUQLPOQZVDPN લιγϟή Ͱͨ͠
OPUF ɾจষɺࣸਅɺαϯυFUDΛ ߘ͠ɺͦΕΛൢചͰ͖Δ ɾهࣄΛෳຊ·ͱΊͯൢച͢Δ ͜ͱͰ͖ΔʢϚΨδϯʣ ɾֹ݄ͷܧଓ՝ۚػೳͰɺϑΝϯ ΫϥϒͷӡӦͰ͖Δ ɾ"OHVMBSͰߏஙͨ͠41" ͓͔͛͞·Ͱ
͢͜ͱ ɾ41"Ͱ৽نαʔϏεΛ࡞Ζ͏PSطଘαʔϏεΛϦχϡʔ Ξϧ͠Α͏ͱߟ͑தͷํʹɺΛ͍͔ͭ͘͝հ͠·͢ ɾ֤ʹ͍ͭͯɺOPUFͰͲ͏ߟ͍͑ͯΔ͔ɺͲ͏͍ͨ͠ ͔Λઆ໌͠·͢
ͦͦ41"ʹ͖͔͢ ɾαʔϏεͷ༰࣠ ˠπʔϧܥͷαʔϏε͔ ੩తͳαʔϏε͔ ˠૢ࡞ʹԠͯ͡ͷࡉ͔͍ը໘ॻ͖͑ɺػහͳಈ࡞ɺෳࡶͳ ը໘ߏ͕ٻΊΒΕΔπʔϧܥαʔϏε41"͕͍͍ͯΔ ɾ։ൃऀ࣠ ˠNPEFSOͳKBWBTDSJQUʹशख़ͨ͠ϝϯόʔ͍Δ͔
ˠ࠷ۙͷ'8͔ͳΓͷKTपΓͷࣝΛલఏʹ͍ͯ͠Δ ɾ"1*αʔόʔ͕طʹ͋Δ͔ ˠBQQͷXFC൛Λ࡞Δ࣌ɺطଘͷ"1*ḉΛྲྀ༻Ͱ͖Δ͔
ͦͦ41"ʹ͖͔͢ ɾ41"ͱ֮ޛ IUUQXXXTMJEFTIBSFOFUUFQQFJTTQB ɾϒϥβͷػೳͷ࠶࣮͕ඞཁ ɾ༨ܭͳ%-+BWB4DSJQU$44ͷύʔεΛTLJQ͢Δ͜ͱʹΑ ΔߴભҠͷ࣮ݱɺͱ͍͏తͰ1KBY 5VSCPMJOLT Ͱඞཁ ेͩͬͨΓ͠ͳ͍
ɾαʔόʔαΠυͷ'Xͱϑϩϯτͷ'Xͷ྆ํʹशख़͕ඞཁ 3FNFNCFS 'MBTIΞϓϦͷ൵ܶ
OPUFͷ߹ ɾෳࡶͳϑΥʔϜFUDΛଟ͘࡞Δඞཁ͕͋ͬͨͨΊɺ։ൃޮ ্͕ͬͨ ɾ։ൃ࣌+4FSෆࡏͩͬͨͨΊɺ"MMJO0OFͷ"OHVMBS ͋Γ͕͔ͨͬͨ ɾϒϥβόοΫεΫϩʔϧͷڍಈͳͲɺϒϥβͷϑΟʔ Ϧϯάࣅ߹ΘͤΔͨΊʹಠ࣮ࣗΛز͔ͭߦͬͨ ɾΊΜͲ͔ͬͨɻ͔҆͠ఆ͠ͳ͍ ɾͭΒ͍ τϨʔυΦϑײ͡·͢
*TPNPSQIJDʹ͢Δ͔ ɾαόΫϥͰίʔυΛڞ༗͠ಉ͡PVUQVUΛੜ͢Δ ɾ4FSWFS4JEF3FOEFSJOH ɾOPEFڥͰϑϩϯταʔόʔΛॻ͘ ɾ#BDLFOEͷ"1*αʔόTͱ௨৴ͯ͠443Λ࣮ݱ ɾ443͠ͳ͍ͱ͖ɺ୯ʹ"1*αʔόʔͷQSPYZͱͯ͠ػೳ ɾϚΠΫϩαʔϏεͷHBUFXBZͱͯ͠ػೳ ࢀߟ *TPNPSQIJD4VSWJWBM(VJEF IUUQTTQFBLFSEFDLDPNLPJDIJLJTPNPSQIJDTVSWJWBMHVJEF
ZBIPPqVYJCMF IUUQTHJUIVCDPNZBIPPqVYJCMF *TPNPSQIJDஉͷϩϚϯ
*TPNPSQIJDʹ͢Δ͔ ɾαʔόʔαΠυΛOPEFͰॻ͘ˠฒߦॲཧੑೳߴ͍͕Մ༻ ੑʹ͋Γ ɾ$16CPVOEͳॲཧOPEFͷ&WFOU-PPQΛ٧·ΒͤΔ ɾը૾ͷมɾΓग़͠ܭࢉͳͲɻϚΠΫϩαʔϏε ͱͯ͠֎ʹΓग़͔͢ɺ-BNCEBͷ4IPPLͳͲΫϥυͷ αʔϏεʹಀ͕͢ͳͲΛݕ౼͢Δ ɾϚϧνίΞΛ׆͔ͨ͢Ίʹɺ$MVTUFSϞδϡʔϧͳͲͰଟॏ ԽΛߦ͏ɺࣗಈ࠶ىಈͷΈΛೖΕΔɺͳͲOPEFڥಠಛ ͷ#FTU1SBDUJDFΛݕূ͓ͯ͘͠ඞཁ͕͋Δ
ɾඇಉظॲཧΛલఏʹͨ͠ίʔσΟϯάελΠϧͷ׳Ε
OPUFͷ߹ ɾ"1*3BJMT Ͱ࣮͍ͯ͠Δ ɾ͍·*TPNPSQIJD 443Λݕ౼͢ΔͳΒɺطଘͷ"1*ḉͦ ͷ··ʹͯؒ͠ʹϑϩϯτϨϯμϦϯάαʔόΛOPEFͰ༻ҙ ͯ͠ϨϯμϦϯά 443 Λ୲ͤ͞ΔߏΛߟ͑Δ
ɾݱ࣮తʹ͜ΜͳҰؾʹҠߦͰ͖ͳ͍ "1* 3BJMT 'SPOU"QQ 4FSWFS OPEF 3BJMTʹແཧΓ3FBDUͱ͔݁߹͢Δͷ͋Μ·Γͨ͘ͳ͍
ϑϨʔϜϫʔΫ ɾɺϑϨʔϜϫʔΫʹԿΛબͿ͔ ɾ.7$ɺ.77.Λܦͯίϯϙʔωϯτࢦ͕ओྲྀʹ ɾ443*TPNPSQIJDͳઃܭΛલఏʹ͢ΔͳΒɺ3FBDU͕࣮ ๛ ɾXBZCJOEJOH࣮͕͔Γ͍͢໘ɺେنԽ͢Δ ͱϞσϧ͕ࢄΒΓݟ௨͕͠ѱ͘ͳΓ͕ͪ ɾϑϨʔϜϫʔΫࣗମͷαΠζ͕ؾʹͳΔͳΒɺ.JUISJMSJPU ͷΑ͏ͳܰྔϥΠϒϥϦ
ɾॳظϩʔυͱ%0.ߋ৽࣌ɺͦΕͧΕͷύϑΥʔϚϯε
OPUFͷ߹ ɾOPUFBOHVMBSˠ΄΅΄΅.77. ɾBOHVMBSͷ%JSFDUJWFίϯϙʔωϯτతͱݴ͑ͳ͘ͳ͍ ͕ɺࣗ༝͍͗ͯ͢ΖΜͳ͜ͱ͕ग़དྷ͗͢Δɻ ɾTDPQF͕৭ʑͳॴʹࢄΒΓɺͲ͜Λ͍͡Ε͍͍͔ ͕Ͳ͜Ͱม͑ΒΕͨͷ͔ ͔Γʹ͍͘ɺTDPQFʹΧδϡ Ξϧʹೖ͢Δͱఆ֎ͷॴʹӨڹ͕ٴΜͩΓ͢Δ ɾ3FEVYͷTJOHMFTUPSF͔֬ʹ͍͍ΞΠσΞͩͱࢥͬͨɻ
"OHVMBSͰଟಉ͡Α͏ͳ͜ͱ͕Ͱ͖Δ͕%JSUZ$IFDLJOH ͕ϝνϟ͘ͳΓͦ͏ ɾԾ%0.ྑےʙͱײ͟͡ΔΛಘͳ͍
OPUFͷ߹ ɾ%JSUZ$IFDLJOH͕͍ͱΑ͘EJTΒΕΔ͕ɺͦ͜·Ͱෳࡶͳ %0.ߏʹͳͬͯͳ͍ͷͰ͋·Γࠔͬͨ͜ͱͳ͍ ʢ͋͘·Ͱݱஈ֊Ͱ͕͢ʣ ɾͦΕΑΓɺOPUFಡΈத৺ͳͷͰهࣄৄࡉϖʔδ͕ߴ ʹಡΊΔঢ়ଶʹͳΔ͜ͱ͕Ұ൪ॏཁɻ ɾBOHVMBSҠߦΛݕূ༧ఆ͕ͩɺجຊతʹهࣄৄࡉϖʔδ ͷύϑΥʔϚϯε͕ͲΕ͚ͩվળͰ͖Δ͔ͱҠߦίετͷτ ϨʔυΦϑΛҰ൪ͷஅࡐྉʹ͢Δͱࢥ͏ ɾԿΛ༏ઌ͢Δ͔ɺαʔϏε͝ͱʹҧ͏ͷͰ֤ʑஅ
ࢀߟ ίϯςϯπ৴ͱ41" IUUQTTQFBLFSEFDLDPNLPOQZVLPOUFOUVQFJYJOUPTQB
·ͱΊ αʔϏεΛ41"Ͱ࡞Δ /BWJHBUJPOΛ͡ΊɺϒϥβͷڍಈΛ࠶ݱΛڧ͍ΒΕΔ Մೳੑ͕͋Γ·͢ લͱൺΔͱ*TPNPSQIJDʹΉͷݱ࣮ຯ͋ΓɻOPEF Ͱͷαʔόʔڥӡ༻Ͱผͷ֮ޛΛڧ͍ΒΕΔ ͷϑϨʔϜϫʔΫબͼجຊઢίϯϙʔωϯτࢦ ͷ'8 'MVYͩͱࢥ͏ɻ͕ɺτϨʔυΦϑΛצҊͯ͠
8F`SFIJSJOH ɾ41"ͱͦͷपลٕज़ʹڵຯ͕͋Δํ ɾ໘ന͍ਓɾίϯςϯπΛੈͷதʹ૿͍ͨ͠ํ ɾϑϩϯτΤϯυͷελοΫΛ͔Βߟ͍͑ͨํ ौ୩ͷಓݰࡔͰ͢