すごい大規模 たのしく作ろう

すごい大規模 たのしく作ろう

ng-kyoto Angular Meetup #10のLT資料です。

87e94dd0e8a5f52de58a0e4a0b1a1f3f?s=128

Shinichi Kozake

May 29, 2019
Tweet

Transcript

  1. ͍͢͝େن໛ͨͷ͘͠࡞Ζ͏ʂ ng-kyoto Angular Meetup #10

  2. 4ZTUFN"SDIJUFDU +BWB !T@LP[BLF 8IPBN* 4ZTUFN"SDIJUFDU

  3. ۙگ ʴ େن໛Ҋ݅ͱ֨ಆͯ͠·ͨ͠ʂ

  4. γεςϜن໛ ̍̑ສ4UFQ͘Β͍ ̍̔̌ը໘͘Β͍ ϐʔΫ໊࣌͘Β͍ େن໛ͷఆٛ͸Θ͔Γ·ͤΜ͕ ϑϩϯτΤϯυͷΈ ࣗಈੜ੒ιʔεؚ·ͣ

  5. ։ൃظؒ ཁ݅ఆٛʹ̍೥ ઃܭʹ̍೥ ։ൃɾςετʹϲ݄ ͳ͕ʔʔʔʔ͍γεςϜઃܭ

  6. γεςϜཁ݅ *&ରԠ λϒϨοτͰ΋࢖༻ γϯάϧαΠϯΦϯೝূ Ξϯυืूͯ͠΋͜ͳ͍ϑϩϯτΤϯδχΞ ϨεϙϯγϒσβΠϯ

  7. )PXEJEZPVQSPDFFE IUUQTqJDLSQNT;"

  8. ࣾ಺ษڧձ ۀ຿࣌ؒͰ"OHVMBSษڧձ ɾϝϯόʔશһͰษڧձ ɾ࣌ؒºճ िճ  ɾ"OHVMBSͷຊΛ࣌ؒ಺ͰಡΜͰ͍͘

  9. ը໘ඪ४ͷ࡞੒ ύϫϙͰ࡞ͬͨʂ ը໘ͷ৭΍ΞΠίϯ ݕࡧը໘΍ೖྗը໘ͷಈ࡞ ϝοηʔδͷදࣔํ๏ ͳͲͳͲ

  10. ϞοΫΞοϓ։ൃ एखϝϯόʔͱڠྗͯ͠࡞੒ ɾૣ͍ஈ֊Ͱ։ൃʹணखʢ։ൃͷ։࢝࣌఺Ͱ͸ɺશը໘ͷϞοΫΞοϓ͕׬੒ʣ ɾٕज़ݕূΛ݉ͶΔ͜ͱ͕Ͱ͖ͨʂ ɾϢʔβͷૢ࡞ཁ๬Λૣ͍ஈ֊ͰΩϟονΞοϓͰ͖ͨʂ ɾएखڭҭʹ΋ͭͳ͕ͬͨʂ

  11. )PXEJEZPVEFWFMPQ IUUQTqJDLSQNT;"

  12. ͜ΕΒͷϥΠϒϥϦΛ࢖༻ͨ͠Γࢀߟʹͨ͠Γ

  13. ࠓճͷ։ൃͰ͸1SJNF/(Λ࠾༻ 1SJNF/(͸1SJNF'BDFͰ༗໊ͳ1SJNF5FL͕ఏڙ͢ΔϥΠϒϥϦ ݟͨ໨ͷྑ͞΍ιʔεͷݟ௨͠͞Λߟྀ͠ɺͪ͜ΒΛ࠾༻ σεΫτοϓը໘Ͱ࢖͏৔߹͸࢖͍΍͍͢ʢϞόΠϧ޲͚ʹ͸ΠϚΠν͔΋ʣ 1SJNF/(

  14. 1SJNF/( ࠓճͷ։ൃͰ͸ɺʮ1SFNJVN"QQMJDBUJPO5FNQMBUFTGPS1SJNF/(ʯ ͱ͍͏1SJNF/(ͷςϯϓϨʔτʢ"7"-0/ʣΛߪೖɻ 1SJNF/(ͷςϯϓϨʔτ͸̍ͭສԁఔ౓ɻҰ౓ߪೖ͢Δͱͣͬͱ࢖͑Δɻ

  15. BH(SJE BH(SJE͸σʔλάϦουΛఏڙ͢Δ6*ϥΠϒϥϦɻཁ͢Δʹ8FC্ͷ&YDFMɻ 1SJNF/(ʹ΋%BUB5BCMFͱ͍͏ಉ༷ͷάϦουίϯϙʔωϯτ͕͋Δ͕ɺ ٕज़ݕূͷ݁Ռɺཁٻ࢓༷ʹ଱͑Εͳ͍͜ͱ͕൑໌ɻ σʔλάϦου͸ෳࡶੑͷߴ͍ϥΠϒϥϦͷͨΊɺ࣮੷Λॏࢹͯ͠BHHSJEΛ࠾༻ɻ

  16. JPOJD $SPTT1MBUGPSNͷϞόΠϧ8FCΞϓϦέʔγϣϯΛ࡞੒͢ΔͨΊͷϑϨʔϜϫʔΫ ελοΫܕͷϖʔδભҠ͕ؾʹೖͬͯɺ෦෼తʹಋೖ 6*෦඼͸1SJNF/(ΛϝΠϯʹ͕ͨ͠ɺϞόΠϧ޲͚ͩͱJPOJDͷ6*෦඼͸࢖͍΍͍͢ʂ

  17. +)JQTUFS Ϟμϯ8FCΞϓϦέʔγϣϯͷ਽ܗΛૉૣ͘࡞ΕΔ4DB⒎PMEπʔϧ ϓϩμΫτར༻Λલఏͱ࣮ͨ͠༻తͳ਽ܗΛੜ੒ͯ͘͠ΕΔ ੜ੒͞ΕͨιʔείʔυΛࢀߟʹͨ͠ʂ

  18. CODE DAO Generator config ϑΝΠϧ Web dependencies dependencies ΞϓϦέʔγϣϯ૚ ϓϨθϯςʔγϣϯ૚

    υϝΠϯ૚ CODE API UI ϢʔβΠϯλϑΣʔε૚ dependencies dependencies typescript-angular ςʔϒϧ ఆٛॻ ίʔυ ఆٛॻ 0QFO"1*(FOFSBUPS ։ൃख๏
  19. %JEZPVIBWFBOZUSPVCMF IUUQTqJDLSQNT;"

  20. ύϑΥʔϚϯε ͜Ε͕Ұ൪ྫྷ΍׼͔͖·ͨ͠

  21. ύϑΥʔϚϯε *&Ͱ஗͍ λϒϨοτͰ஗͍ $ISPNFͩͱ଎͍

  22. *&Ͱ஗͍

  23. *&Ϣʔβʹ͸ ͦ͜Β΁ΜͷL

  24. λϒϨοτͰ஗͍

  25. λϒϨοτͰ஗͍ λϒϨοτͰͷΈૢ࡞͕΋ͨͭ͘ ίϯϙʔωϯτͷଟ͍ը໘Ͱݦஶ λϒϨοτ͸1$୺຤ʹൺ΂ͯ௿εϖοΫʢ೥੡"OEPSJEλϒϨοτʣ 1$ϑΝʔετͩͬͨͨΊɺ1$୺຤ΛϝΠϯͰ։ൃΛਐΊͨ݁Ռɺ ςετޙ൒Ͱੑೳ໰୊͕ൃ֮ʂ

  26. λϒϨοτͰ஗͍ !$PNQPOFOU \  DIBOHF%FUFDUJPO$IBOHF%FUFDUJPO4USBUFHZ0O1VTI  ^  ࣗલͰ༻ҙͨ͠ڞ௨6*෦඼ͷมߋݕ஌ͷઓུΛ 0O1VTIʹ͢Δ͜ͱͰղܾʂ

    ࣗ਎ͷ*OQVUʹมԽ͕ͳ͍࣌͸ࢠπϦʔͷมߋݕ஌ΛεΩοϓʂ
  27. )PXJTJUOPX IUUQTqJDLSQ/KEQW

  28. OPX Ή͠ΖՋ ΋͏͙͢ϦϦʔε ຖ೔ఆ࣌ؼΓ ෆ۩߹͸΄ͱΜͲग़͍ͯͳ͍

  29. JNQSFTTJPOTPG"OHVMBS

  30. "OHVMBS΁ͷײ૝ ೖ໳ॻ੶͸͍ͩͿͦΖͬͯΔ ύϑΥʔϚϯεରࡦͳͲͷ ӡ༻ࣄྫ͸·ͩগͳ͍Α͏ͳ "OHVMBS͕ΒΈͷ໰୊͸ݱࡏͳ͠ ඇৗʹ҆ఆ͍ͯ͠Δ

  31. *4 ܕͷଘࡏ͸඼࣭֬อʹ໾ཱ͍ͬͯΔʂ "OHVMBS΁ͷײ૝ ܕ࠷ߴʂ

  32. "OHVMB͸ शಘίετ͕ ߴ͍ʁ

  33. ϑϩϯτΤϯυࣗମ͕෯޿͗͢Δ

  34. ΈΜͳ ϑϩϯτΤϯυؤுΖ͏ͳʂ

  35. ͝੩ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ