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

インフラエンジニアからレガシーPHPへのレイヤーアップ

 インフラエンジニアからレガシーPHPへのレイヤーアップ

Kazuhiko Yamashita

June 27, 2015
Tweet

More Decks by Kazuhiko Yamashita

Other Decks in Programming

Transcript

  1. dΞάϨογϒͳϦϑΝΫλϦϯά෩ຯͷιʔεͱڞʹd
    GMO Pepabo, Inc.
    Pࢁ
    2015/06/27 PHP Conference Fukuoka
    ΠϯϑϥΤϯδχΞ͔Β
    ϨΨγʔ1)1΁ͷ
    ϨΠϠʔΞοϓ

    View full-size slide

  2. ࠓ೔࿩͢͜ͱ
    ๻ʹ͍ͭͯ
    ๻ͱ1)1ʹ͍ͭͯ
    େن໛ͳϦϑΝΫλϦϯάͱ

    ্खͳόάΓํɾͦͷରॲ๏

    View full-size slide

  3. Ͳ΋ɺ΅͘Ͱ͢
    1ࢁ
    (.01FQBCP*OD
    !QZBNB
    UFOTOBQPODPN

    View full-size slide

  4. ࠷ۙ΍ͬͯΔ͜ͱ

    View full-size slide

  5. ڈ೥ͷࠓࠒ·Ͱ
    *41

    View full-size slide

  6. ϖύϘೖͬͨ

    View full-size slide

  7. ๻ͱ1)1ɹ"GUFSϖύϘ
    1)1ͩͬͨ
    ͱʹ͔͘ίʔυ͕৑௕ʹݟ͑ͨ
    ςετ͕ͳͯ͘౰ͨΓલ

    View full-size slide

  8. ϨΨγʔ1)1JTԿ

    View full-size slide

  9. ϨΨγʔ1)1ͷಛ௃
    ߦGVODUJPO
    Ṗίϝϯτ
    άϩʔόϧม਺ɾؔ਺ͷࡇయ
    USZdDBUDIͱ͔ স
    ෇͚଍͠ଓ͚ͨൿ఻ͷλϨ

    View full-size slide

  10. Ͱ΋ɺྑ͍ͨ͘͠

    View full-size slide

  11. ΞάϨογϒʹόάΔ
    ςετ͕ແ͍தͰߦ স
    ͳιʔε
    ʹ੾ΓࠐΉ
    ೥Ҏ্ಈ͍͍ͯΔίʔυͳͷͰɺ

    ෦෼తͳΦϨΦϨϑϨʔϜϫʔΫ

    ͱ͔͋ͬͯਏ͍
    ۀ຿࢓༷͕ਂ͍ͱ͜ΖʹӅΕͯͨΓ͢Δ

    View full-size slide

  12. Ͱ΋ંΕΔΘ͚ʹ͸
    ͍͔ͳ͍Μͩ

    View full-size slide

  13. ৮ΔൣғΛ໌֬ʹ͢Δ
    ϨΨγʔίʔυμϝϙ
    ա৒ʹ੾ΓࠐΈա͗ͳ͍

    View full-size slide

  14. &&ςετॻ͘
    ߦͷίʔυͷςετΛॻ͍ͨ
    ͱͯ͠΋ϦϑΝΫλϦϯά͢Δͱ

    *'͕େ͖͘มΘΔͷͰ༗ޮͰ͸ͳ͍
    8*ͷڍಈͱ%#ͷ஋ΛอূͰ͖
    Ε͹େ͖͘৴པੑΛߴΊΒΕΔ

    View full-size slide

  15. &&ςετΛॻ͘
    34QFD
    DBQZCBSB
    QPMUFSHFJTU
    EFTDSJCFυϝΠϯҰׅऔಘEP
    CFGPSFEP
    WJTJU4FUUJOHTCBTF@VSMbCVML@HFU
    pMM@JONVV@JE XJUI4FUUJOHTNVV@JE
    pMM@JOQBTTXPSE XJUI4FUUJOHTQBTTXPSE
    DMJDL@POೖྗ֬ఆ
    FOE
    EFTDSJCFೖྗͨ͠υϝΠϯͷֹ͕ۚҰக͍ͯ͠ΔEP
    JUEP
    MJTUpOE UBCMF
    BMM US

    MJTUFBDI@XJUI@JOEFYEPcUS JOEFYc
    OFYUJGJOEFY
    UEUSBMM UE

    EPNBJOTFBDI@XJUI@JOEFYEPcEPNBJO EPNBJO@JOEFYc
    JGUE<>UFYUJOEFY EPNBJO

    TME UMEEPNBJOTQMJU

    UE<>UFYUTIPVMEJODMVEF HFU@EPNBJO@QSJDF TME UME
    UP@DVSSFODZ

    CSFBL
    FOE
    FOE
    FOE
    FOE
    FOE
    FOE

    View full-size slide

  16. &&ςετಈ͔͢
    ᕒ਎ͷίϛοτɾϓογϡ
    ϙʔϦϯά
    σϓϩΠɾςετ
    ݁Ռ௨஌
    ɾυϝΠϯ͕औಘͰ͖Δ͔
    ɾϢʔβʔొ࿥͕Ͱ͖Δ͔
    ɾΫϨδοτΧʔυ͕࢖༻Ͱ͖Δ͔
    ɹFUDʜ
    QSJWBUFGVODUJPONFUIPE"\
    QSJOUbQFQBCP`
    ^
    QVCMJDGVODUJPONFUIPE# OBNF
    \
    JG OBNFlQZBNBz

    QSJOUbJLFNFO`
    ^
    ݁Ռ௨஌

    View full-size slide

  17. ·ͱΊ
    ϨΨγʔ1)1ඞͣ͠΋ѱ͡Όͳ͍
    φ΢͘ॻ͖௚͚ͩ͢ͷϦϑΝΫλ͸
    ΍ΊΑ͏
    &&ςετΛॻ͍ͯ҆શʹ

    ϦϑΝΫλ͠Α͏

    View full-size slide

  18. ϖύϘͰ͸ΤϯδχΞΛઈࢍืूதͰ͢
    Πϯϑϥɾ8ɾϞόΠϧ
    ৄࡉ͸8Ͱ

    IUUQTQFQBCPDPNSFDSVJUDBSFFSKPCT

    View full-size slide

  19. ϖύϥϯνϣϯ
    ϖύϘͷΤϯδχΞͱϥϯνΛ͠ͳ
    ͕Βָ͘͠ձ࿩Λग़དྷΔ੍౓Ͱ͢

    View full-size slide

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

    View full-size slide