Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular中〜大規模アプリ設計

OKUNOKENTARO
October 10, 2017

 Angular中〜大規模アプリ設計

2017/10/10 ng-japan meetup 2017 Autumnで発表した資料です。

OKUNOKENTARO

October 10, 2017
Tweet

More Decks by OKUNOKENTARO

Other Decks in Technology

Transcript

  1. ࠓճ࿩͢͜ͱ w "OHVMBS͸ϑϧελοΫ w ࣮ࡍɺ ͳΜͰ΋࡞ΕΔ w ͋͞࡞ΕͱݴΘΕΔͱɺ  w

    νϡʔ τ ϦΞϧͷ࣍ʹͲ͏͢Ε͹͍͍͔͕೉͍͠ w தʙେن໛ΞϓϦ։ൃͰ໰୊ʹͳΔͱ͜ΖΛɺ 
 ࣮ମݧΛݩʹղઆ
  2. ఆٛ ʢ͋͘ ·Ͱ΋ɺ ࠓճʹ͓͍ͯʣ w খن໛ w ΞϓϦण໋ ɿ ൒೥Ҏ಺

    w தن໛ w ΞϓϦण໋ ɿ ൒೥Ҏ্ w τʔλϧສߦҎ಺ ʢIUNMɺ DTTআ͘ɺ ۭߦؚΉʣ  w େن໛ w ͦΕҎ্
  3. தن໛ͩͱԿʹࠔΔ͔ w ίʔ υʹॏෳ͕ੜ·ΕΔ w Ͳ͜ʹڞ௨Խ͠Α ͏ w ΞϓϦશମͰ؅ཧ͢Δ஋͕ग़ͯ͘ Δ

    w Ͳ͜ʹஔ͜͏ w ໨ࢹςε τ͚ͩͰ͸ݶքʹ w ࣗಈςε τΛߟ͑͸͡ΊΔ w Կ΋ߟ࣮͑ͣ૷͹͔ΓਐΊΔͱςε τ͕ॻ͖ʹ͍͘ίʔ υʹʜ
  4. جຊʹ໭Δ w 'MVY $234 Ұ୴๨ΕΑ ͏ w "OHVMBSʹৄ͘͠ͳ͍ ʁ େৎ෉

    w ΤϯδχΞͱͯ͠جຊʹ໭Δ w 40-*%ݪଇ ʢΦϒδΣΫ τࢦ޲ઃܭݪଇʣ  w :"(/* ,*44 ʢඞཁʹͳΔ·Ͱ࣮૷͢Δͳɺ γϯϓϧʹ͓͚ͯ͠ʣ  w %3: ʢ%POUSFQFBUZPVSTFMGʣ
  5. 4FSWJDFΛͲ͏࡞Δ͔ 7JFX $PNQPOFOU 5FNQMBUF 4UPSBHF GSPN9)3 *OEFYFE%#FUD ͜͜͸"OHVMBSཁૉ͕গͳ͍ Ͳ͏4FSWJDFΛఆٛ͢Δ͔ʹݒ͔͍ͬͯΔ w

    4FSWJDF͸5ZQF4DSJQUͷDMBTT୯Ґ w DMBTTͷ੾Γํ͸40-*%ݪଇʹ
 ै͑͹Α͍ w ద੾ͳେ͖͞ͷDMBTT͸ςε τ΋ॻ͖
 ΍͍͢ w "OHVMBSʹ͸ґଘੑ஫ೖ΋͋Δ w DMBTT୯ମͷςε τ͕࣮ࢪ͠΍͍͢
  6. DMBTTͷ੾Γํ͸Θ͔ͬͨɺ ࣍ʹؾʹ͢Δ͜ͱ͸ ʁ w Πϕϯ τ΍ඇಉظॲཧ w Ϣʔβͷೖྗɺ Ϋ Ϧ

    οΫͳͲͷૢ࡞ w αʔό͔ΒͷϨεϙϯε w "OHVMBSʹݶΒ͕ͣͩɺ 
 8FCΞϓϦέʔγϣϯ։ൃ͸ϋϯ υ Ϧ ϯάͱͷ෇͖߹͍
  7. தن໛ͷઓ͍ํͰ͸େن໛ʹ͸উͯͳ͍ w தن໛ରࡦ w DMBTTΛ෼͚ͨɺ ςε τ΋ॻ͍ͨ w ॏෳίʔ υ΋

    Ϧ ϑΝΫλ Ϧϯάͨ͠ w ͜Ε͚ͩͰ͸େن໛ΞϓϦʹ੒௕͢Δͱ͖ʹ಄ଧͪʹͳΓ ·͢
  8. ໰୊͸ίʔ υελΠϧ͡Όͳ͍ w ͲΕΛͲ͜ʹॻ͘ͷ໰୊ w ࿹ͷ͍͍ਓͷΤϯδχΞ͕͍ͯ΋ɺ DMBTTͷ෼͚ํ͕όϥόϥͩͱɺ  w ॏෳॲཧ͕ੜ·Εͨͱ͖࿦ཧత

    ɾ ػցతͳϦ ϑΝΫλ Ϧ ϯά͕ߦ͑ͳ͍ wʮԶ͸͕͍͍ͬͪ͜ͱࢥ͏ʯ ʮ͍΍͍΍Զ͸ʜʯ  w ຖճͦͷٞ࿦΍Γ ·͔͢ ʁ
  9. ϨΠϠʔ υ ɾ ΞʔΩςΫνϟ 7JFX &YUFSOBM4UPSBHF $PNNBOE 2VFSZ "EBQUFS 3FQPTJUPSZ

    3Y+43FBM8PSMEࢀরIUUQTTQFBLFSEFDLDPNBSNPSJLSYKTSFBMXPSME
  10. ͍·Ͳ͜ͷ࿩Λͯ͠Δ ʁ w ϨΠϠʔ υΞʔΩςΫνϟ w ։ൃλεΫͷݟੵ΋Γٞ࿦ʹศར w λεΫΛద੾ͳཻ౓ʹ੾͍ͬͯΔલఏͰ͸͋Δ w

    ͦͷλεΫ͸ɺ ͦͷػೳͷͲͷՕॴΛ࣮૷ͤͶ͹ͳΒͳ͍͔ɺ 
 νʔϜͰࢹ֮తʹೝࣝͰ͖Δ
  11. ϨΠϠʔ͝ͱʹ࡞ۀݟੵ΋ Γ " ɿ ͜ͷJTTVF͸7JFXͷʙͷػೳ࣮૷ʹ͍ͭͯͰ͢ #7JFX͔Β͸"1*ΛݺͿ͚Ͳɺ ͔ͦ͜Βઌ͸
 ɹ$PNNBOE૚ͷ࿩ͳͷͰผJTTVF͔ $͡Ό͋7JFXͰͷΠϕϯ τϋϯ

    υ Ϧ ϯάͷ࣮૷࡞ۀ
 ɹ͚ͩݟੵ΋Ε͹͍͍ΜͩͶ 7JFX &YUFSOBM4UPSBHF $PNNBOE 2VFSZ "EBQUFS 3FQPTJUPSZ ˡ͍·ίίͷ࿩Λͯ͠Δ
  12. ඞͣ௧Έ͕ग़ͯ͘ Δ wʮͳΜͰԶ͸͋ͷ࣌͋͋͠ͳ͔ͬͨΜͩʜʯ  wʮ͜ΜͳʕʕΈ͍ͨͳ"1*࢓༷ॻ͕ૹΒΕ͖ͯͨͧʯ  wʮ͓͍͓͍ࠓࠒͦΕΛݴ͏͔ɺ େ͖ͳͪΌͿ୆ฦͩ͠ ʂ ʂ

    ʯ  w ࣮࿩͔Ͳ͏͔͸͓࡯͍ͩ͘͠͞ w ͲΕ͚ͩॳظઃܭΛؤுͬͯ΋ඞͣ෗Δ͠ɺ 
 ཧෆਚͳํ਑స׵ΛٻΊΒΕΔ w Ͱ΋ɺ ରԠ͠ͳ͘ ͪΌ͍͚ͳ͍
  13. ෗ഊΛڪΕΔͳ w ෗Βͳ͍Α ͏ͳίʔ υΛॻ͘ ͜ͱ͸ෆՄೳ w ෗Δ w ෗ͬͨͱ͖ʹɺ

    Ͳ͏͢Ε͹؆୯ʹআڈͰ͖Δ͔Λߟ͑Δ͜ͱ͸Մೳ w ࠓͳʹ͕໰୊͔ɺ ͦͷ౎౓ೝࣝ͢Δ w ෛ࠴͸ܭըతʹฦࡁ͢Δ w ໟͷ௕͍ϠΫΛ์͠ࣂ͍ʹ͠ͳ͍