SPAの論点

3b0eb6111ab44c573d3111b034ec7dc9?s=47 KON YUICHI
October 24, 2016

 SPAの論点

SPA Service Summit Vol1 @GoodPatch

3b0eb6111ab44c573d3111b034ec7dc9?s=128

KON YUICHI

October 24, 2016
Tweet

Transcript

  1. 41"ͷ࿦఺ !LPOQZV 

  2. ࣗݾ঺հ !LPOQZV,0/:VJDIJ $501JFDFPGDBLF *OD "84ͷ͓कΓɺ3BJMTॻ͖ɺ։ൃ ؀ڥ੔උɺອըඳ͖ͳͲ IUUQLPOQZVDPN લ͸ιγϟή԰ Ͱͨ͠

  3. OPUF ɾจষɺࣸਅɺα΢ϯυFUDΛ౤ ߘ͠ɺͦΕΛൢചͰ͖Δ ɾهࣄΛෳ਺ຊ·ͱΊͯൢച͢Δ ͜ͱ΋Ͱ͖ΔʢϚΨδϯʣ ɾֹ݄ͷܧଓ՝ۚػೳͰɺϑΝϯ ΫϥϒͷӡӦ΋Ͱ͖Δ ɾ"OHVMBSͰߏஙͨ͠41" ͓͔͛͞·Ͱ೥໨

  4. ࿩͢͜ͱ ɾ41"Ͱ৽نαʔϏεΛ࡞Ζ͏PSطଘαʔϏεΛϦχϡʔ Ξϧ͠Α͏ͱߟ͑தͷํʹɺ࿦఺Λ͍͔ͭ͘͝঺հ͠·͢ ɾ֤࿦఺ʹ͍ͭͯɺOPUFͰ͸Ͳ͏ߟ͍͑ͯΔ͔ɺͲ͏͍ͨ͠ ͔Λઆ໌͠·͢

  5. ࿦఺ͦ΋ͦ΋41"ʹ͢΂͖͔ ɾαʔϏεͷ಺༰࣠ ˠπʔϧܥͷαʔϏε͔ ੩తͳαʔϏε͔  ˠૢ࡞ʹԠͯ͡ͷࡉ͔͍ը໘ॻ͖׵͑ɺػහͳಈ࡞ɺෳࡶͳ ը໘ߏ੒͕ٻΊΒΕΔπʔϧܥαʔϏε͸41"͕޲͍͍ͯΔ ɾ։ൃऀ࣠ ˠNPEFSOͳKBWBTDSJQUʹशख़ͨ͠ϝϯόʔ͸͍Δ͔ 

    ˠ࠷ۙͷ'8͸͔ͳΓͷKTपΓͷ஌ࣝΛલఏʹ͍ͯ͠Δ ɾ"1*αʔόʔ͕طʹ͋Δ͔  ˠBQQͷXFC൛Λ࡞Δ࣌͸ɺطଘͷ"1*ḉΛྲྀ༻Ͱ͖Δ͔΋
  6. ࿦఺ͦ΋ͦ΋41"ʹ͢΂͖͔ ɾ41"ͱ֮ޛ IUUQXXXTMJEFTIBSFOFUUFQQFJTTQB ɾϒϥ΢βͷػೳͷ࠶࣮૷͕ඞཁ ɾ༨ܭͳ%-΍+BWB4DSJQU$44ͷύʔεΛTLJQ͢Δ͜ͱʹΑ Δߴ଎ભҠͷ࣮ݱɺͱ͍͏໨తͰ͸1KBY 5VSCPMJOLT Ͱඞཁ े෼ͩͬͨΓ͠ͳ͍ 

    ɾαʔόʔαΠυͷ'Xͱϑϩϯτͷ'Xͷ྆ํʹशख़͕ඞཁ 3FNFNCFS 'MBTIΞϓϦͷ൵ܶ
  7. OPUFͷ৔߹ ɾෳࡶͳϑΥʔϜFUDΛଟ͘࡞Δඞཁ͕͋ͬͨͨΊɺ։ൃޮ཰ ͸্͕ͬͨ ɾ։ൃ౰࣌͸+4FSෆࡏͩͬͨͨΊɺ"MMJO0OFͷ"OHVMBS͸ ͋Γ͕͔ͨͬͨ ɾϒϥ΢βόοΫ΍εΫϩʔϧͷڍಈͳͲɺϒϥ΢βͷϑΟʔ Ϧϯάࣅ߹ΘͤΔͨΊʹಠ࣮ࣗ૷Λز͔ͭߦͬͨ ɾΊΜͲ͔ͬͨɻ͔͠΋҆ఆ͠ͳ͍ ɾͭΒ͍ τϨʔυΦϑײ͡·͢

  8. ࿦఺*TPNPSQIJDʹ͢Δ͔ ɾαόΫϥͰίʔυΛڞ༗͠ಉ͡PVUQVUΛੜ੒͢Δ ɾ4FSWFS4JEF3FOEFSJOH ɾOPEF؀ڥͰϑϩϯταʔόʔΛॻ͘ ɾ#BDLFOEͷ"1*αʔόTͱ௨৴ͯ͠443Λ࣮ݱ ɾ443͠ͳ͍ͱ͖͸ɺ୯ʹ"1*αʔόʔ΁ͷQSPYZͱͯ͠ػೳ ɾϚΠΫϩαʔϏεͷHBUFXBZͱͯ͠ػೳ ࢀߟ *TPNPSQIJD4VSWJWBM(VJEF IUUQTTQFBLFSEFDLDPNLPJDIJLJTPNPSQIJDTVSWJWBMHVJEF

    ZBIPPqVYJCMF IUUQTHJUIVCDPNZBIPPqVYJCMF *TPNPSQIJD͸உͷϩϚϯ
  9. ࿦఺*TPNPSQIJDʹ͢Δ͔ ɾαʔόʔαΠυΛOPEFͰॻ͘ˠฒߦॲཧੑೳ͸ߴ͍͕Մ༻ ੑʹ೉఺͋Γ ɾ$16CPVOEͳॲཧ͸OPEFͷ&WFOU-PPQΛ٧·ΒͤΔ ɾը૾ͷม׵ɾ੾Γग़͠΍਺஋ܭࢉͳͲɻϚΠΫϩαʔϏε ͱͯ͠֎ʹ੾Γग़͔͢ɺ-BNCEBͷ4IPPLͳͲΫϥ΢υͷ αʔϏεʹಀ͕͢ͳͲΛݕ౼͢Δ ɾϚϧνίΞΛ׆͔ͨ͢Ίʹɺ$MVTUFSϞδϡʔϧͳͲͰଟॏ ԽΛߦ͏ɺࣗಈ࠶ىಈͷ࢓૊ΈΛೖΕΔɺͳͲOPEF؀ڥಠಛ ͷ#FTU1SBDUJDFΛݕূ͓ͯ͘͠ඞཁ͕͋Δ

    ɾඇಉظॲཧΛલఏʹͨ͠ίʔσΟϯάελΠϧ΁ͷ׳Ε
  10. OPUFͷ৔߹ ɾ"1*͸3BJMT  Ͱ࣮૷͍ͯ͠Δ ɾ͍·*TPNPSQIJD 443Λݕ౼͢ΔͳΒɺطଘͷ"1*ḉ͸ͦ ͷ··ʹͯؒ͠ʹϑϩϯτϨϯμϦϯάαʔόΛOPEFͰ༻ҙ ͯ͠ϨϯμϦϯά 443 Λ୲౰ͤ͞Δߏ੒Λߟ͑Δ

    ɾݱ࣮తʹ͸͜ΜͳҰؾʹҠߦ͸Ͱ͖ͳ͍ "1* 3BJMT 'SPOU"QQ 4FSWFS OPEF 3BJMTʹແཧ΍Γ3FBDUͱ͔݁߹͢Δͷ͸͋Μ·΍Γͨ͘ͳ͍
  11. ࿦఺ϑϨʔϜϫʔΫ ɾ೥ɺϑϨʔϜϫʔΫʹԿΛબͿ͔  ɾ.7$ɺ.77.Λܦͯίϯϙʔωϯτࢦ޲͕ओྲྀʹ ɾ443΍*TPNPSQIJDͳઃܭΛલఏʹ͢ΔͳΒɺ3FBDU͕࣮੷ ๛෋ ɾXBZCJOEJOH͸࣮૷͕෼͔Γ΍͍͢൓໘ɺେن໛Խ͢Δ ͱϞσϧ͕ࢄΒ͹Γݟ௨͕͠ѱ͘ͳΓ͕ͪ ɾϑϨʔϜϫʔΫࣗମͷαΠζ͕ؾʹͳΔͳΒɺ.JUISJM΍SJPU ͷΑ͏ͳܰྔϥΠϒϥϦ΋

    ɾॳظϩʔυͱ%0.ߋ৽࣌ɺͦΕͧΕͷύϑΥʔϚϯε
  12. OPUFͷ৔߹ ɾOPUF͸BOHVMBSˠ΄΅΄΅.77. ɾBOHVMBSͷ%JSFDUJWF͸ίϯϙʔωϯτతͱݴ͑ͳ͘΋ͳ͍ ͕ɺࣗ༝͍͗ͯ͢ΖΜͳ͜ͱ͕ग़དྷ͗͢Δɻ ɾTDPQF͕৭ʑͳ৔ॴʹࢄΒ͹ΓɺͲ͜Λ͍͡Ε͹͍͍͔  ஋͕Ͳ͜Ͱม͑ΒΕͨͷ͔ ෼͔Γʹ͍͘ɺTDPQFʹΧδϡ Ξϧʹ୅ೖ͢Δͱ૝ఆ֎ͷ৔ॴʹӨڹ͕ٴΜͩΓ͢Δ ɾ3FEVYͷTJOHMFTUPSF͸͔֬ʹ͍͍ΞΠσΞͩͱࢥͬͨɻ

    "OHVMBSͰ΋ଟ෼ಉ͡Α͏ͳ͜ͱ͕Ͱ͖Δ͕%JSUZ$IFDLJOH ͕ϝνϟ஗͘ͳΓͦ͏ ɾԾ૝%0.ྑےʙͱײ͟͡ΔΛಘͳ͍
  13. OPUFͷ৔߹ ɾ%JSUZ$IFDLJOH͕஗͍ͱΑ͘EJTΒΕΔ͕ɺͦ͜·Ͱෳࡶͳ %0.ߏ੒ʹͳͬͯͳ͍ͷͰ͋·Γࠔͬͨ͜ͱ͸ͳ͍ ʢ͋͘·Ͱݱஈ֊Ͱ͕͢ʣ ɾͦΕΑΓɺOPUF͸ಡΈ෺த৺ͳͷͰهࣄৄࡉϖʔδ͕ߴ଎ ʹಡΊΔঢ়ଶʹͳΔ͜ͱ͕Ұ൪ॏཁɻ ɾBOHVMBSҠߦΛݕূ༧ఆ͕ͩɺجຊతʹ͸هࣄৄࡉϖʔδ ͷύϑΥʔϚϯε͕ͲΕ͚ͩվળͰ͖Δ͔ͱҠߦίετͷτ ϨʔυΦϑΛҰ൪ͷ൑அࡐྉʹ͢Δͱࢥ͏ ɾԿΛ༏ઌ͢Δ͔ɺ͸αʔϏε͝ͱʹҧ͏ͷͰ֤ʑ൑அ

    ࢀߟ ίϯςϯπ഑৴ͱ41" IUUQTTQFBLFSEFDLDPNLPOQZVLPOUFOUVQFJYJOUPTQB
  14. ·ͱΊ αʔϏεΛ41"Ͱ࡞Δ  /BWJHBUJPOΛ͸͡Ίɺϒϥ΢βͷڍಈΛ࠶ݱΛڧ͍ΒΕΔ Մೳੑ͕͋Γ·͢ ೥લͱൺ΂Δͱ*TPNPSQIJDʹ૊Ήͷ͸ݱ࣮ຯ͋ΓɻOPEF Ͱͷαʔόʔ؀ڥӡ༻Ͱผͷ֮ޛΛڧ͍ΒΕΔ ೥ͷϑϨʔϜϫʔΫબͼ͸جຊઢ͸ίϯϙʔωϯτࢦ ޲ͷ'8 'MVYͩͱࢥ͏ɻ͕ɺτϨʔυΦϑΛצҊͯ͠

  15. 8F`SFIJSJOH ɾ41"ͱͦͷपลٕज़ʹڵຯ͕͋Δํ ɾ໘ന͍ਓɾίϯςϯπΛੈͷதʹ૿΍͍ͨ͠ํ ɾϑϩϯτΤϯυͷελοΫΛ͔Βߟ͍͑ͨํ ौ୩ͷಓݰࡔͰ͢