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

BEAR.Sunday 2014-2024

Akihito Koriyama
March 09, 2024
50

BEAR.Sunday 2014-2024

phperkaigi 2024 ポスターセッション展示

Akihito Koriyama

March 09, 2024
Tweet

Transcript

  1. Billing Processor depends API Client Db Logger String lib Cal

    Dependency Injection w (PPHMF(VJDFͷ1)1൛ w ΦϒδΣΫτάϥϑߏஙػ w ϞʔυͰ͸ͳ͘ϚτϦΫεʹΑΔଟ࣍ݩͷଋറͷมߋ w ίϯύΠϥͰଋറΛ1)1ίʔυʹ w ଟ༷ͳଋറ w "01౷߹ w ղܾۭؒΑΓ໰୊ۭؒͰղܾ ґଘੑͷٯస
  2. Domain Logic Application Logic Aspect Orientated Programming w +"7"ͷ"01ΞϥΠΞϯε࣮૷ w

    ؔ৺Λຊ࣭తؔ৺ͱԣஅతؔ৺ʹ෼཭ w ຊ࣭తؔ৺Λݕࡧͯ͠ԣஅతؔ৺ʹಈతଋറ w ΞϓϦέʔγϣϯϨϕϧͷϑϨʔϜϫʔΫߏங w ίϯςΩετʹΑΔଋറ w ԣஅతؔ৺ΛΞϓϦέʔγϣϯΛ௒͑ͯར༻ w νʔϜϨϕϧͷϑϨʔϜϫʔΫߏங w ԣஅతؔ৺͕ຊ࣭తؔ৺ͷϝλ৘ใΞΫηε w ίϯύΠϥͰ࣮ݱ ຊ࣭తؔ৺ ԣஅతؔ৺
  3. Compile, Request and Response ϝιουͷؔ৺͸Ϧιʔεঢ়ଶͷ ֬ఆ͚ͩɻදݱʹ͸ؔ৺͕ແ͍ɻ ίϯςΩετʹґͬͯҟͳΔ Ϩϯμϥʔ͕ΠϯδΣΫτ͞ΕΔ ίϯςΩετʹґͬͯҟͳΔ ΞεϖΫτ͕ଋറ͞ΕΔ

    ίϯςΩετʹґͬͯҟͳΔ Ϩεϙϯμʔ͕࢖ΘΕΔ ίϯςϯπ ϝλ৘ใ ঢ়ଶίʔυ Ϗ ϡ ʔ ͸ Ϧ ι ʔ ε ঢ় ଶ Λ ද ݱ ʹ ϝιου͸Ϧιʔεঢ়ଶΛηοτ Ϩ ε ϙ ϯ μ ʔ ͸ ද ݱ Λ ग़ ྗ Π ϯ δΣ Ϋ γ ϣ ϯ Ξ ε ϖ Ϋ τ ં Γ ࠐ Έ 3&45ϦΫΤετ 3FTPVSDF0CKFDU αʔϏεͱͯ͠ͷΦϒδΣΫτ
  4. Distributed Caching Framework w ΫϥΠΞϯτɺ$%/ɺαʔόʔαΠυ̏ͭͷϙδγϣϯ w $16ίετͱωοτϫʔΫίετ૒ํͷઅ໿ w ίϯςϯπ"1*WTίϯϐϡςʔγϣϯ"1* w

    /PU.PEJ fi FE w υʔφοπΩϟογϡʢ෦෼Ωϟογϡʣ w ϦΧʔγϒΩϟογϡ Ωϟογϡʹ͸ґଘ͕͋Δ શ͕ͯΩϟογϡՄೳͳΘ͚Ͱ͸ͳ͍ ফڈ ৚݅෇͖ ৚݅ແ͠ ظݶ෇͖ ߋ৽
  5. Semver w ޙํޓ׵ੑඇഁյɺӬԕͷY w ҙຯΛม͑ͳ͍ɺऔΓআ͔ͳ͍ɺ௥ՃͷΈ w 1)1͔Βͷ࣮੷ w ιϑτ΢ΤΞΛਅͷϨΨγʔʹ w

    ΠϯϑΥϝʔγϣϯΞʔΩςΫνϟͱͷ਌࿨ੑ w ϋΠύʔϝσ ΟΞ IA w 1)1ίϯύΠϧ w ίϯύΠϧͱϥϯλΠϜͷ໌֬ͳ۠ผ w ϦΫΤετΛ௒͑ͨγϯάϧτϯ Fast ςϯϓϨʔτʹετϦʔϜΛΞαΠϯ Stream Composable w ෳ਺ͷΞϓϦέʔγϣϯΛಉҰͷϥϯλΠϜͰ߹੒࣮ߦ w ϚΠΫϩαʔϏεͱϞδϡϥʔϞϊϦεͷΪϟοϓΛຒΊΔ w ׬શͳ%*ͱΫϦʔϯͳΞʔΩςΫνϟ͕߹੒ΛՄೳʹ Clean w άϩʔόϧͳ΋ͷ͕Կ΋ͳ͍ w ࢀরՄೳͳNPEF͢Βͳ͍ w શͯ%*ɺΠϛϡʔλϒϧ