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

LisketでのSymfony活用例紹介

 LisketでのSymfony活用例紹介

Symfony Meetup #8 でのLT資料

hidenorigoto

January 24, 2016
Tweet

More Decks by hidenorigoto

Other Decks in Programming

Transcript

  1. -JTLFUͰͷ
    4ZNGPOZ׆༻ྫ঺հ
    Χϧςοτίϛϡχέʔγϣϯζ1)1ϝϯλʔζ

    ޙ౻लએ !IJEFOPSJHPUP


    4ZNGPOZ.FFUVQ
    4ZNGPOZຊʹ͸ࡌͬͯͳ͍ʂ

    View full-size slide

  2. ࣗݾ঺հ
    w ޙ౻लએʢ͝ͱ͏ͻͰͷΓʣ

    !IJEFOPSJHPUPذෞԹઘϞσϦϯάɾઃܭ
    w Χϧςοτίϛϡχέʔγϣϯζ1)1ϝϯλʔζ
    w ຊ


    View full-size slide

  3. -JTLFUͱ͸
    w ϦεςΟϯά޿ࠂͷ
    ӡ༻ࢧԉπʔϧ
    w ࣗࣾαʔϏε
    w ૑ۀظ͔Β

    ʢ೥൒ʣ

    4ZNGPOZ൛͸೥ऑ

    View full-size slide

  4. ΞδΣϯμ
    πϦʔߏ଄ͷఆٛσʔλʢॳڃʣ
    ಠࣗͷΞϊςʔγϣϯɹʢதڃʣ
    4FDVSJUZ7PUFSͷԠ༻ɹɹʢʁڃʣ

    View full-size slide

  5. πϦʔߏ଄ͷఆٛσʔλ
    w ϝχϡʔͷߏ଄ͱ͔

    View full-size slide

  6. :".-
    &YUFOTJPO
    4FSWJDF$POUBJOFS
    4FSWJDF
    ஫ೖ ύϥϝʔλ
    &YUFOTJPOͰͷίϯϑΟΪϡϨʔγϣϯ
    ϩʔυͷ࢓૊ΈΛ࢖͏

    View full-size slide

  7. όϯυϧ3FTPVSDFTDPOpHNFOVZNM
    QBSBNFUFSTʹ
    πϦʔߏ଄Λͦ
    ͷ··هड़
    ར༻͢ΔαʔϏ
    εʹύϥϝʔλ
    Λ*OKFDU

    View full-size slide

  8. όϯυϧ%FQFOEFODZ*OKFDUJPOʙʙ&YUFOTJPOQIQ

    View full-size slide

  9. ϝϦοτ
    w :".-ͷಡΈࠐΈॲཧͳͲΛࣗ෼Ͱهड़͢Δඞཁͳ
    ͠
    w αʔϏείϯςφͷύϥϝʔλͱͯ͠Ωϟογϡ͞
    ΕΔ
    w %*ͷػߏͰαʔϏεʹ౉ͤΔ

    View full-size slide

  10. Ԡ༻ฤ
    w 4ZNGPOZຊୈষ࠷ޙͷίϯϑΟΪϡϨʔγϣϯͷ
    ࿩ࢀর


    ͓ͦΒ͘ຊͷதͰҰ൪೉͍͠࿩ɺ͜ΕΛ࢖͍͜ͳ
    ͤͨΒ4ZNGPOZϚελʔͱ໊৐ͬͯྑ͠ʣ

    View full-size slide

  11. ࢀߟ63-
    w ʮ)PXUP-PBE4FSWJDF$POpHVSBUJPOJOTJEFB
    #VOEMFʯ

    IUUQTZNGPOZDPNEPDDVSSFOUDPPLCPPL
    CVOEMFTFYUFOTJPOIUNM

    View full-size slide

  12. ಠࣗͷΞϊςʔγϣϯ
    w ίϯτϩʔϥόϯυϧͱ͸ผͷཻ౓ͷԣஅతͳॲ

    ΞΫηεݖ"
    ΞΫηεݖ#
    'PP#VOEMF
    #BS#VOEMF
    $POUSPMMFS
    $POUSPMMFS
    $POUSPMMFS

    View full-size slide

  13. &WFOU-JTUFOFS
    $POUSPMMFS
    "DUJPO
    ֘౰ΞϊςʔγϣϯΛ
    ಡΈࠐΉ
    LFSOFMDPOUSPMMFSΠϕϯτͰΞϊςʔγϣϯΛ
    ಡΜͰॲཧ
    ,FSOFM
    LFSOFMDPOUSPMMFS
    νΣοΫαʔϏε
    هड़಺༰ʹैͬͯ
    νΣοΫ
    "DDFTT%FOJFE&YDFQUJPO
    /(ͷ৔߹

    View full-size slide

  14. όϯυϧ"OOPUBUJPO"DDFTTJCMFQIQ

    View full-size slide

  15. Ξϊςʔγϣϯ৘ใΛಡΈࠐΉ3FBEFSΫϥεͷॲཧ
    %PDUSJOFͷ"OOPUBUJPO3FBEFS

    View full-size slide

  16. όϯυϧ&WFOU-JTUFOFSʙ-JTUFOFSQIQ

    ͜ͷྫͰ͸
    4VCTDSJCFS

    View full-size slide

  17. όϯυϧ3FTPVSDFTDPOpHFWFOU@MJTUFOFSZNM
    όϯυϧ%FQFOEFODZ*OKFDUJPOʙʙ&YUFOTJPOQIQ

    View full-size slide

  18. ࢀߟ63-
    w ʮ4ZNGPOZ$SFBUJOHB.FUBEBUB'BDUPSZGPS1SPDFTTJOH$VTUPN
    "OOPUBUJPOT !NBUUIJBTOPCBDL
    ʯ

    IUUQQIQBOETZNGPOZNBUUIJBTOPCBDLOMTZNGPOZ
    DSFBUJOHBNFUBEBUBGBDUPSZGPSQSPDFTTJOHDVTUPNBOOPUBUJPOT
    w ʮ)PXUP3FHJTUFS&WFOU-JTUFOFSTBOE4VCTDSJCFSTʯ

    IUUQTZNGPOZDPNEPDDVSSFOUDPPLCPPLEPDUSJOF
    FWFOU@MJTUFOFST@TVCTDSJCFSTIUNM
    w ʮ4ZNGPOZ'SBNFXPSL&WFOUTʯ

    IUUQTZNGPOZDPNEPDDVSSFOUSFGFSFODFFWFOUTIUNM

    View full-size slide

  19. 4FDVSJUZ7PUFSͷԠ༻

    View full-size slide

  20. 1SPT$POT
    w 1SPT
    w ΞϊςʔγϣϯͰهड़Ͱ͖Δɻ
    w ΞΫγϣϯ಺εοΩϦɻ
    w $POT
    w !1BSBN$POWFSUFS͕લఏʹͳΔ

    View full-size slide

  21. ྫ֎తͳͷΛ࡞Γͨ͘ͳΔ
    UFBN͸1BSBN$POWFSUFS
    Λ࢖͍ͬͯͳ͍͚Ͳɺ
    !4FDVSJUZͰΞΫηεݖ
    νΣοΫ͍ͨ͠

    View full-size slide

  22. &WFOU-JTUFOFS
    3FRVFTUͷ
    BUUSJCVUFT
    ֘౰ΤϯςΟςΟΛ
    औΓग़ͯ͠ηοτ
    LFSOFMDPOUSPMMFSΠϕϯτͰϦΫΤετͷ
    BUUSJCVUFTʹೖΕͯ΍Δ
    ,FSOFM
    LFSOFMDPOUSPMMFS
    ΞΫγϣϯͷҾ਺ɾ!4FDVSJUZ
    ར༻Մೳ

    View full-size slide

  23. όϯυϧ&WFOU-JTUFOFSʙ-JTUFOFSQIQ

    ͜ͷྫͰ͸
    4VCTDSJCFS

    View full-size slide

  24. όϯυϧ3FTPVSDFTDPOpHFWFOU@MJTUFOFSZNM

    View full-size slide

  25. ϝϦοτ
    w ʢ͖ͬ͞΋ॻ͖·͕ͨ͠ʣݖݶؔ܎ͷ൑ఆهड़ΛΞ
    Ϋγϣϯ಺͔Βͳͤ͘Δ
    w ͨͩɺࠓճ঺հͨ͠ࣄ͕௚઀ඞཁͱͳΔέʔε͸͓
    ͦΒ͘كɻ࢓૊Έͱͯ͜͠Μͳ෩ʹ΋Ͱ͖Δɺͱ͍
    ͏ఔ౓ʹɻ

    View full-size slide

  26. ࢀߟ63-
    w ʮ)PXUP6TF7PUFSTUP$IFDL6TFS1FSNJTTJPOTʯ
    IUUQTZNGPOZDPNEPDDVSSFOUDPPLCPPL
    TFDVSJUZWPUFSTIUNM

    View full-size slide

  27. ·ͱΊ
    4ZNGPOZͷ͍࣋ͬͯΔػೳΛ࢖͍͜ͳ͢ͱɺ
    4ZNGPOZͷ্ʹɺࣗ෼ͨͪಠࣗͷ͘͠ΈΛ
    ʮ͏·͘ʯ࡞͍͚ͬͯΔʂ
    ෳࡶͳཁ݅Λ
    ੔ཧͯ͠ղܾͰ͖Δʂ
    ௕͘ϝϯςφϯε
    ͍͚ͯ͠Δʂ

    View full-size slide

  28. ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ

    View full-size slide