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

Laravelでプチマイクロサービスやってみた

2b061d517e360c493bb567aa6c3e540d?s=47 kotamat
June 21, 2017

 Laravelでプチマイクロサービスやってみた

Laravel/Vue.js勉強会での発表

2b061d517e360c493bb567aa6c3e540d?s=128

kotamat

June 21, 2017
Tweet

More Decks by kotamat

Other Decks in Technology

Transcript

  1.  -BSBWFMͰ ϓνϚΠΫϩαʔϏε ΍ͬͯΈͨ

  2.  ࣗݾ঺հ

  3.  !LPUBNBU দຊ޺ଠ ·ͭ΋ͱ͜͏ͨ  גࣜձࣾ4$065&3$50 ࣗసं͕޷͖

  4.  4$065&3஌ͬͯΔਓ

  5. ʗ ʗ స৬ر๬ͷ༑ਓ஌ਓΛ اۀʹ঺հ͠ใुΛಘΒΕΔ $UP#ਓࡐ঺հαʔϏε 4$065&3ͱ͸

  6. ༗ྉ৬ۀ঺հ ਓࡐ঺հձࣾ
 ϔουϋϯλʔ اۀ ٻ ৬ ऀ ༗ྉ৬ۀ঺հ ঺հͯ͠ใुΛಘΔʹ͸໔ڐ͕ඞཁ ʹ

  7. 4$065&3ͱ͸ ا ۀ స ৬ ऀ εΧ΢λʔ
 ొ࿥ऀ ݸਓ͕঺հͯ͠ใुΛड͚औΕΔ ʹ

  8. ཧղͷ͋Δ૬ஊ૬ख ࣌ؒΛ͔͚ͨҙࢥܾఆ͕Ͱ͖Δ ࠷దͳٻਓΛબͼԠืͰ͖Δ ࠷΋స৬ऀʹدΓఴͬͨ঺հΛ࣮ݱ 4$065&3ͷར఺ 4$065&3ͷಛ௃

  9.  γεςϜͷར༻ऀ స ৬ ऀ ε Χ ΢ λ ʔ

    ӡ Ӧ ا ۀ
  10.  γεςϜͷར༻ऀ స ৬ ऀ ε Χ ΢ λ ʔ

    ا ۀ ӡ Ӧ ا ۀ Ϧ ϙ δ τ Ϧ Ϣ ʔ β Ϧ ϙ δ τ Ϧ  ' S P O U  # B D L " E N J O Ϧ ϙ δ τ Ϧ
  11.  ෳ਺ϦϙδτϦͩͱ ՝୊͕ʝ

  12.  ՝୊ " E N J O Ϧ ϙ δ

    τ Ϧ Ϣ ʔ β Ϧ ϙ δ τ Ϧ
  13.  ՝୊ " E N J O Ϧ ϙ δ

    τ Ϧ Ϣ ʔ β Ϧ ϙ δ τ Ϧ ॏ ෳ ί ʔ υ ͕ ੜ · Ε Δ ɻ  ˠ ό ά ͷ Մ ೳ ੑ
  14.  ղܾํ๏Λ୳ͯ͠Έͨɻ

  15. 

  16.  ا ۀ Ϧ ϙ ί Ξ  α ʔ

    Ϗ ε Ϣ ʔ β Ϧ ϙ ϚΠΫϩαʔϏε
  17.  w ϞϊϦγοΫͷ෼ׂ w ؔ৺ͷ෼཭ w όʔδϣϯ؅ཧ w ૬ޓαʔϏεؒͰͷ௨৴ w

    3FTU"1* w 31$౳ʝ ϚΠΫϩαʔϏεͷ֓ཁ
  18.  w ϞϊϦγοΫͷ෼ׂ w ؔ৺ͷ෼཭ w όʔδϣϯ؅ཧ w ૬ޓαʔϏεؒͰͷ௨৴ w

    3FTU"1* w 31$౳ʝ ΍ Γ ͨ ͍ ͜ ͱ ΍ Γ ͨ ͘ ͳ ͍ ͜ ͱ ϚΠΫϩαʔϏεͷ֓ཁ
  19.  w 1SPUPDPM#VGGFSͬΆ͘ܕղܾ͸͍ͨ͠ʝ w ͚ͲH31$ͱ͔͸1)1͸αόΫϥ྆ํͰରԠ͍ͯ͠ ͳ͍ʝ w ݴޠ͸1)1Ͱ΋໰୊ͳ͍ɻ Ή͠Ζ-BSBWFMͰ ౷Ұ

     w ࠷ऴతͳΞ΢τϓοτ͸ผʹϞϊϦγοΫͰ΋ ߏΘͳ͍ ࣮ࡍͷཁ๬
  20.  ͳͷͰ͋Ε͹ʝ

  21.  $PNQPTFS࢖͓͏

  22.  Ϣ ʔ β ӡ Ӧ ا ۀ ڞ ௨

    c o m p o s e r r e q u i r e ֤αʔϏε΁ͷదԠ
  23.  ڞ௨ϦϙδτϦ

  24.  BVUPMPBEʹQTSͰ໊લࢦఆ ڞ௨ϦϙδτϦͷ࣮૷

  25.  ڞ௨ͷॲཧΛ໊લۭؒʹซͤͯ࡞੒ ڞ௨ϦϙδτϦͷ࣮૷

  26.  ֤αʔϏεͷϦϙδτϦ

  27.  SFRVJSFͱಉ͡֊૚ʹHJUIVCͷϦϙδτϦࢦఆ ֤αʔϏεͷϦϙδτϦͷ࣮૷

  28.  ։ൃத͸EFWϒϥϯν໊Ͱ։ൃ ֤αʔϏεͷϦϙδτϦͷ࣮૷

  29.  ϦϦʔεޙ͸όʔδϣϯ HJUUBH ࡞ͬͨޙʹ ֤αʔϏεͷϦϙδτϦͷ࣮૷

  30.  SFRVJSFͷόʔδϣϯΛࢦఆ ֤αʔϏεͷϦϙδτϦͷ࣮૷

  31.  FYUFOET͢Δ͜ͱͰॲཧΛ࠷খݶʹ ֤αʔϏεͷϦϙδτϦͷ࣮૷

  32.  w ϞϊϦγοΫͷ෼ׂ w ؔ৺ͷ෼཭ w όʔδϣϯ؅ཧ ղܾʂ ໰୊

  33.  w ෳ਺αʔϏε͕ಉ͡ΤϯςΟςΟʔΛݟʹߦͬͯ ͍Δ৔߹͸ɺผϦϙδτϦʹ෼ׂ w DPNQPTFSΛ࢖͏͜ͱͰɺόʔδϣϯ؅ཧ͠ ͭͭɺڞ௨ॲཧΛಀ͕ͤͨɻ w αʔϏεଆ͸ඞཁ࠷௿ݶͷίʔυͰ࣮૷Ͱ͖ͨɻ ·ͱΊ

  34.