できる!GraphQL

A518abbe059ea4d68518835f496f425e?s=47 kumaki
July 12, 2017

 できる!GraphQL

2017/07/12 社内 Meetup

A518abbe059ea4d68518835f496f425e?s=128

kumaki

July 12, 2017
Tweet

Transcript

  1. ෼ͰΘ͔Δʁ(SBQI2-ೖ໳ ͘·͖(.01FQBCP *OD  Ͱ͖Δʂ(SBQI2-

  2. ΞδΣϯμ w(SBQI2-ͬͯͳΜͩ w(SBQI2-ͷॲཧ֓࿦ w(SBQI2-ͷ؀ڥΛͭ͘Ζ͏ wࡶײ

  3. ΋͖ͯ͘ wͬ͘͟Γͱ(SBQI2-Λ஌Δ wৄࡉΛࣗ਎Ͱௐ΂ΒΕΔΑ͏ʹͳΔ wօͰΘ͍Θ͍࿩͕Ͱ͖ΔΑ͏ʹͳΔ

  4. (SBQI2-ͬͯͳΜͩ

  5. (SBQI2-ͷྺ࢙ w'BDFCPPL͕ϞόΠϧΞϓϦ༻ʹ࡞ͬͨ w044Խ w(JU)VC͕ରԠ͢ΔͱΞφ΢ϯε wੈք֤஍ͰΧϯϑΝϨϯε wΫϥΠΞϯτ΋৭ʑग़͖ͯͨɻΞπ͍ͧʂ

  6. (SBQI2-Ͱ༡΂ΔϓϩμΫτ w(JU)VC w IUUQTEFWFMPQFSHJUIVCDPNW w4IPQJGZ w IUUQTIFMQTIPQJGZDPNBQJTUPSFGSPOUBQJHSBQIRM

  7. 3&45ͷߏ੒Λ;Γ͔͑Δ $MJFOU 4UPSBHF 'VODUJPO wඞཁͳ৘ใΛ౎౓ϦΫΤετ wΤϯυϙΠϯτ͸63*Ͱදݱ

  8. (SBQI2-ͷߏ੒ $MJFOU 4UPSBHF (SBQI2- 'VODUJPO w3&45౳ͷલஈʹ̍ͭט·ͤΔΠϝʔδ wΤϯυϙΠϯτ͸୯ҰFY IUUQTBQJHJUIVCDPNHSBQIRM

  9. (SBQI2-ͷߏ੒ $MJFOU 4UPSBHF (SBQI2- 'VODUJPO ίί͕޾ͤʹ ͳΔͬΆ͍ w3&45౳ͷલஈʹ̍ͭט·ͤΔΠϝʔδ wΤϯυϙΠϯτ͸୯ҰFY IUUQTBQJHJUIVCDPNHSBQIRM

  10. (SBQI2-ͷه๏ wͲ͜ͱͳ͘42-ʹࣅͨงғؾ KTPOͰؼͬͯ͘Δ͚Ͳ

  11. (SBQI2-ͰϦΫΤετͯ͠༡ΜͰΈΑ͏ w(SBQI2-)VC w IUUQTHSBQIRMIVCDPN

  12. (SBQI2-ͷॲཧ֓࿦

  13. (SBQI2-ͷߏ੒ $MJFOU 4UPSBHF (SBQI2- 'VODUJPO w͓΋͍ͩͦ͏

  14. (SBQI2-ͷεΩʔϚ $MJFOU 4UPSBHF (SBQI2- ࢀߟIUUQTHJTUHJUIVCDPN0MFH*MZFOLPBBBCCCBCCBE 2VFSZ .VUBUJPO εΩʔϚ ΫΤϦΛͲ͏ղऍ͢Δ͔ɾɾͷΩϚϦ

  15. (SBQI2-ͷεΩʔϚ w͜Μͳ͔Μ͡ͷهड़ w4XBHHFSॻ͍ͨΒͦͷ··࣮૷ʹͳΔΈ͍ͨͳʢࡶ

  16. (SBQI2-ͷεΩʔϚͷܕ wܕ͕͋Δ wεΧϥʔܕ*OU 'MPBU 4USJOH #PPMFBO *% wΦϒδΣΫτܕࣗ෼Ͱ࡞ΔʢKBWBTDSJQUΈ͍ͨͳʣ wܕ͸ΫϥΠΞϯτ͔Β΋Θ͔Δ

  17. (SBQI2-ͷεΩʔϚͷछྨ w2VFSZ w4FMFDUతͳԿ͔ w.VUBUJPO w6QEBUF *OTFSUతͳԿ͔

  18. (SBQI2-ͷεΩʔϚ wվΊͯݟͯΈΑ͏

  19. (SBQI2-ͷ໰͍߹Θͤ $MJFOU 4UPSBHF (SBQI2- ࢀߟIUUQTHJTUHJUIVCDPN0MFH*MZFOLPBBBCCCBCCBE 2VFSZ .VUBUJPO ඇಉظ

  20. (SBQI2-ͷ໰͍߹Θͤ $MJFOU 4UPSBHF (SBQI2- ࢀߟIUUQTHJTUHJUIVCD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

  30. ࡶײ

  31. IUUQTTQFBLFSEFDLDPNLVNBL[FOEFTLOJKJBOSVXFCBQVSJGBMTFFUVTFOTV Ҏલ-5Λͯ͠ ͜Μͳ࣭໰Λ໯͍·ͨ͠

  32.  ֎෦ͷ3&45"1*Λ࢖͍ͬͯͯ ʮ࢖͍ͮΒ͍ͳʯͱײͨ͡ॴ͸ʁ

  33.  ֎෦ͷ3&45"1*Λ࢖͍ͬͯͯ ʮ࢖͍ͮΒ͍ͳʯͱײͨ͡ॴ͸ʁ ఏڙଆ͕૝ఆ͍ͯ͠ͳ͍࢖͍ํΛ ͠Α͏ͱ్ͨ͠୺ʹἝΛṞ͘

  34.  ֎෦ͷ3&45"1*Λ࢖͍ͬͯͯ ʮ࢖͍ͮΒ͍ͳʯͱײͨ͡ॴ͸ʁ ఏڙଆ͕૝ఆ͍ͯ͠ͳ͍࢖͍ํΛ ͠Α͏ͱ్ͨ͠୺ʹἝΛṞ͘ ஋͸Ͳ͜·ͰऔಘͰ͖Δʁ υΩϡϝϯτͱͷԟ෮ർΕΔ ϦϨʔγϣϯͲ͏ͳͬͯΜͷʁ ૝૾ͮ͠Β͍ 


    ϦΫΤετ਺૿͑ͯϞϠϞϠ ΋ͬͱ͍ܰͨ͘͠ͳ
  35.  ֎෦ͷ3&45"1*Λ࢖͍ͬͯͯ ʮ࢖͍ͮΒ͍ͳʯͱײͨ͡ॴ͸ʁ ఏڙଆ͕૝ఆ͍ͯ͠ͳ͍࢖͍ํΛ ͠Α͏ͱ్ͨ͠୺ʹἝΛṞ͘ ஋͸Ͳ͜·ͰऔಘͰ͖Δʁ υΩϡϝϯτͱͷԟ෮ർΕΔ ϦϨʔγϣϯͲ͏ͳͬͯΜͷʁ ૝૾ͮ͠Β͍ 


    ϦΫΤετ਺૿͑ͯϞϠϞϠ ΋ͬͱ͍ܰͨ͘͠ͳ "1*ͬͯ৭ʑΘ͔ͬͯΔਓ޲͚ʁ
  36. ࡶײ w"1*͸ΈΜͳͰ͔͍͍ͭͨ ॳֶऀ΋  wར༻ऀɾ։ൃऀ૒ํʹ΍͍͞͠"1*Λͭ͘Γ͍ͨ wखஈ͸3&45Ͱ΋(SBQI2-Ͱ΋ͲͬͪͰ΋͍͍ wϓϩμΫτͱ͔νʔϜʹ͋ͬͨ΋ͷΛબͼ͍ͨ wखؒ͸গͳ͍ํ͕͍͍ w༏͍ͬͯ͠ͳΜͩʁ

  37. ༏͍͠ྫ(PPHMF"1*T&YQMPSFS

  38. (PPHMF"1*T&YQMPSFS͠Ύ͍͝ ϒϥ΢β্Ͱ3&45ΛࢼͤΔ ͖ͬ͞ͷ(SBQI2-)VC΋ͦ͏ͩͶ

  39. ϒϥ΢β্ͷΫϥΠΞϯτʹ͍ͭͯ wDVSMͰࢼͤ͹͍͍͡ΌΜʁ w͔͍͜͠Ͱ͢ͶɻΘͨ͠͸͔͘͜͠ͳ͍ͷͰϋʔυϧߴ͘ײ͡Δ wར༻ऀ͸࢖͍ํͷΈʹઐ೦Ͱ͖Δ w։ൃऀ͸"QPMMPͰఏڙ͢Δ͚ͩ

  40. αʔόʔαΠυʹ͍ͭͯ w୯ҰΤϯυϙΠϯτͬͯΑͦ͞͏ wར༻ଆ͸ͱΓ͋͑ͣ͋ͦ͜ʹΞΫηε͢Ε͹0,ͱ͍͏೴ے҆৺ײ wఏڙଆ͸ϧʔςΟϯά؅ཧ͕ඞཁͳ͍Ҏ֎͸3&45ͱͦΜͳมΘΒΜ͔΋ wΫΤϦ͸ϑΝΠϧʹൈ͖ग़ͤΔ w3&45͸ը໘Ͱ·ͱ·Δ͕ɺ(SBQI2-͸ΫΤϦͰ·ͱ·Δ wʮ͋ͷػೳ͸͜ͷΫΤϦͰͰ͖ΔΑʔʯͱ͍͏ίϐϖͷڞ༗ͰΤίγες Ϝ͕ҭͭɾɾ͔΋ʂ

  41. ΋͖ͯ͘Λ;Γ͔͑Δ wͬ͘͟Γͱ(SBQI2-Λ஌Δ wৄࡉΛࣗ਎Ͱௐ΂ΒΕΔΑ͏ʹͳΔ wօͰΘ͍Θ͍࿩͕Ͱ͖ΔΑ͏ʹͳΔ

  42. ΋͖ͯ͘Λ;Γ͔͑Δ wͬ͘͟Γͱ(SBQI2-Λ஌Δ wৄࡉΛࣗ਎Ͱௐ΂ΒΕΔΑ͏ʹͳΔ wօͰΘ͍Θ͍࿩͕Ͱ͖ΔΑ͏ʹͳΔ ΍Ζ͏ʂ