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

柔軟なアプリケーションをSymfonyで作るために考えている事

polidog
June 28, 2019

 柔軟なアプリケーションをSymfonyで作るために考えている事

polidog

June 28, 2019
Tweet

More Decks by polidog

Other Decks in Technology

Transcript

  1. ॊೈͳΞϓϦέʔγϣϯΛ
    4ZNGPOZͰ࡞ΔͨΊʹ
    ߟ͍͑ͯΔࣄ
    !QPMJEPH

    View full-size slide

  2. ࣗݾ঺հ
    w !QPMJEPH ๬݄Ͱ͢

    w ύʔςΟʔϋʔυגࣜձࣾऔక໾݉ϓϩάϥϚ
    w ൒෼͙Β͍ओ෉ɾχʔτɾ࢒ΓϓϩάϥϚ
    w ೔ຊ4ZNGPOZϢʔβʔձ
    w ࠷ۙ͸+BWB4DSJQU͹͔Γॻ͍͍ͯΔؾ͕͠·͢
    w εϊʔϘʔυͱࢁͱ͓ञ͕޷͖Ͱ͢

    View full-size slide

  3. 4ZNGPOZʹ͍ͭͯͳʹ͔࿩ͯ͠

    View full-size slide

  4. ීஈ4ZNGPOZΛ࢖ͬͯ
    ։ൃ͢Δ࣌ʹ
    ҙ͍ࣝͯ͠ΔࣄΛ࿩ͦ͏

    View full-size slide

  5. ࠓ೔ͷ໨ඪ͸
    ॊೈͳ4ZNGPOZΒ͍͠ΞϓϦέʔγϣ
    ϯΛ࡞ΔͨΊͷߟ͑ํΛ఻͑Δ͜ͱ

    View full-size slide

  6. ΞδΣϯμ
    w 4ZNGPOZͱ͸
    w ஋΍ߏ଄Λܾఆ͢ΔλΠϛϯάΛݟۃΊΔ
    w %FQFOEFODZ*OKFDUJPO
    w $POUSPMMFS
    w "SHVNFOU7BMVF3FTPMWFS

    View full-size slide

  7. IUUQTCJUMZ86(KV:

    View full-size slide

  8. IUUQTTZNGPOZDPNEPDDPNQPOFOUTIUUQ@LFSOFMIUNM

    View full-size slide

  9. ࣗ෼ͨͪͷϏδωεϩδοΫͱͷ઀ଓϙΠϯτ

    View full-size slide

  10. ϑϨʔϜϫʔΫʹґଘ͠ͳ͍ϏδωεϩδοΫͷߏ଄Λ࡞Δ

    View full-size slide

  11. ϑϨʔϜϫʔΫͷؔ৺ͱ
    Ϗδωεͷؔ৺͸શ͘ҧ͏

    View full-size slide

  12. ஋΍ߏ଄Λܾఆ͢Δ
    λΠϛϯάΛݟۃΊΔ

    View full-size slide

  13. Ͳ͏ܾ·Δͷ͔ʁ
    w ιʔείʔυͷ࣌఺Ͱܾఆ͢Δ΋ͷ
    w %*ίϯςφͷίϯύΠϧͷλΠϛϯάͰܾ·Δ΋ͷ
    w ࣮ߦ࣌ʹܾఆ͢Δ΋ͷ
    ˞೉͍͠෦෼ͳͷͰͬ͘͟ΓͱΘ͔Γ΍͘͢આ໌͍ͯ͠·͢ɻ

    View full-size slide

  14. ιʔείʔυͷ࣌఺Ͱܾఆ͢
    Δ΋ͷ

    View full-size slide

  15. %*ίϯςφͷίϯύΠϧͷλ
    ΠϛϯάͰܾ·Δ΋ͷ

    View full-size slide

  16. ࣮ߦ࣌ʹܾఆ͢Δ΋ͷ

    View full-size slide

  17. l஋΍ߏ଄ͷܾఆ΁ͷҙࣝΛ࣋ͭ͜ͱͰॊೈͳ࣮૷͔
    Ͳ͏͔ͷ൑அ͕ग़དྷΔΑ͏ʹͳΔz

    View full-size slide

  18. %FQFOEFODZ
    *OKFDUJPO

    View full-size slide

  19. %*ͱ͸Կ͔ʁ

    View full-size slide

  20. IUUQTQPMJEPHKQEJ

    View full-size slide

  21. %*ͱ͸Կ͔ʁ
    w ΦϒδΣΫτͷੜ੒ʹؔ͢Δ໰୊Λղܾ͢Δ࢓૊ΈΛఏڙ
    ͢Δ
    w ΦϒδΣΫτΛඞཁͱ͢ΔΦϒδΣΫτʹ౉͢࢓૊ΈΛఏ
    ڙ͢Δ
    w ؔ৺ࣄΛґଘ͢ΔΦϒδΣΫτΛ࢖͏͜ͱ͚ͩʹूதͤ͞
    Δ

    View full-size slide

  22. ੜ੒ʹؔ͢Δ໰୊Λ
    ղܾ͢Δ

    View full-size slide

  23. ΦϒδΣΫτʹ
    ౉͢࢓૊Έ

    View full-size slide

  24. ΦϒδΣΫτʹ౉͢࢓૊Έ
    w $POTUSVDUPS*OKFDUJPO
    w 4FUUFS*OKFDUJPO
    w 1SPQFSUZ*OKFDUJPO
    IUUQTTZNGPOZDPNEPDDVSSFOUTFSWJDF@DPOUBJOFS
    JOKFDUJPO@UZQFTIUNMDPOTUSVDUPSJOKFDUJPO

    View full-size slide

  25. $POTUSVDUPS*OKFDUJPO

    View full-size slide

  26. αʔϏεϩέʔλʔͱ
    %*ͷҧ͍

    View full-size slide

  27. େྔʹهड़͞Ε͍ͯΔ
    TFSWJDFTZBNMΛ؅ཧ͢Δͷ
    ͸ਏ͍ɾɾɾ

    View full-size slide

  28. $POUSPMMFS͸
    ܧঝ͠ͳ͍

    View full-size slide

  29. ͳͥܧঝ͸μϝͳͷ͔ʁ
    w ෳࡶੑ͕૿͢
    w ࢖Θͳ͍ػೳΛอ͍࣋ͯ͠Δͱ͔͔ͬ͜ѱ͍
    w ܧঝݩͷίϯτϩʔϥͷͲͷػೳʹґଘ͢Δ͔͕ݟ͑ͮΒ
    ͘ͳΔ
    w શ࠶ར༻ੑͷݪଇ $31
    ʹ΋൓͍ͯ͠Δ
    ˞͋͘·ͰݸਓతͳҙݟͰ͢

    View full-size slide

  30. ΫϦʔϯΞʔΩςΫνϟষ͔ΒͷҾ༻

    View full-size slide

  31. ͦ΋ͦ΋ػೳΛ࢖͍ճ͢
    ໨తͰܧঝ͢Δͱ͔ͦ
    μϝͰ͢ΑͶ

    View full-size slide

  32. $POUSPMMFS5SBJU
    IUUQTHJUJPGKPW#

    View full-size slide

  33. $POUSPMMFS5SBJU͸ͳͥͩΊ
    ͳͷ͔ʁ
    w DPOUBJOFS͔ΒHFU͢Δίʔυ͕ଟͯ͘ා͍
    w ར༻͍ͯ͠Δίʔυ͔ΒͲͷϓϩύςΟʹґଘ͍ͯ͠Δ͔
    ೺ѲͰ͖ͳ͍
    w લఏ৚͕݅ར༻ଆ͔ΒΘ͔Βͳ͍
    ˞͋͘·ͰݸਓతͳҙݟͰ͢

    View full-size slide

  34. ਖ਼͍͠ίϯτϩʔϥͷ
    ॻ͖ํ
    ˞͋͘·ͰݸਓతͳҙݟͰ͢

    View full-size slide

  35. ਖ਼͍͠ίϯτϩʔϥͷॻ͖ํ
    w جຊతʹϝιου ίϯετϥΫλ͸আ͘

    w ΞϊςʔγϣϯೖΕͯ΋େମߦ͙Β͍ʹऩ·Δ
    w ඞཁͳ΋ͷ͸%*ʹΠϯδΣΫτͯ͠΋Β͏

    View full-size slide

  36. "SHVNFOU7BMVF
    3FTPMWFS

    View full-size slide

  37. "SHVNFOU7BMVF3FTPMWFS
    w ίϯτϩʔϥͷΞΫγϣϯͷҾ਺ʹ஋Λ౉ͯ͘͠ΕΔ࢓૊
    Έ
    w ϏϧτΠϯͰ͍͔ͭ͘4ZNGPOZଆͰఏڙͯ͘͠Ε͍ͯΔ
    IUUQTTZNGPOZDPNEPDDPOUSPMMFSBSHVNFOU@WBMVF@SFTPMWFSIUNM

    View full-size slide

  38. 3FRVFTU7BMVF3FTPMWFS
    IUUQTHJUJPGKPG

    View full-size slide

  39. ΋ͪΖΜࣗ෼Ͱ࡞Δࣄ
    ΋Ͱ͖Δ

    View full-size slide

  40. ͲͷΑ͏ͳ࣌ʹ࢖͑Δʁ
    ྫ͑͹"1*ܦ༝ͰϢʔβʔ৘ใΛऔಘͯ͠ɺσʔλΛߋ৽͞
    ͤΔ৔߹ͱ͔ɻ
    3FRVFTUͷ63-ʮVTFSVQEBUFʯͱ͔ͳ͍ͬͯΔ࣌ʹ
    ݱࡏͷϢʔβʔͷ৘ใΛ$POUSPMMFSͷҾ਺ʹ౉ͤͨΒɺߋ৽
    ॲཧ͚࣮ͩ૷͢Ε͹͍͍͔ΒศརͰ͢ΑͶɻ

    View full-size slide

  41. ·ͱΊ
    w 4ZNGPOZϑϨʔϜϫʔΫͱࣗ෼͕࣮ͨͪ૷͢Δίʔυͷ
    ڥքʹ͸$POUSPMMFS͕͋Δബ͍ͯ͘͜͠͏
    w %*Λ࢖ͬͯϓϩύςΟͰΠϯδΣΫγϣϯͯ͠΋Β͏
    w ϥϯλΠϜͰܾ·Δ஋͸"SHVNFOU7BMVF3FTPMWFSΛ͏·
    ͘׆༻ͯ͠ద੾ͳΦϒδΣΫτ΁ม׵͢Δ

    View full-size slide

  42. ͓͢͢Ίॻ੶
    w ΞδϟΠϧιϑτ΢ΣΞ։ൃͷԞٛ

    ΦϒδΣΫτࢦ޲ͷݪଇͷ෦෼Λಡ΋͏

    w ΫϦʔϯΞʔΩςΫνϟ

    શମΛ௨ͯ͠ಡΜͰ͍ͩ͘͞ɻΫϦʔϯΞʔΩςΫνϟ
    ͷߏ଄ͷ෦෼͸ͦΜͳʹॏཁ͡Ό͋Γ·ͤΜɻ

    View full-size slide

  43. ͝ਗ਼ௌ͋Γ͕ͱ͏͟͝
    ͍·ͨ͠ɻ

    View full-size slide