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

Clean Architecture

Clean Architecture

Takuma Shimizu

August 01, 2018
Tweet

More Decks by Takuma Shimizu

Other Decks in Programming

Transcript

  1. &OUJUZ w $SJUJDBMCVTJOFTTSVMF w ׬શʹಠཱ w υϝΠϯۦಈઃܭͷυϝΠϯϞσϧ w &OUJUZ 3FGFSFODF

    PCKFDUɼ7BMVFPCKFDUɼ4FSWJDF w ʰΦϒδΣΫτࢦ޲ιϑτ΢ΣΞ޻ֶ004&ʱ಺ͷ༻ޠ
  2. #VTJOFTT3VMFTͷ·ͱΊ w &OUJUZ $SJUJDBM ͱ6TF$BTF "QQMJDBUJPOTQFDJpD  w $SJUJDBM͸γεςϜʹґΒͣɺ"QQTQFD͸γεςϜ͋Γ͖ w

    &OUJUZ͸׬શʹಠཱ͠ɺ6TF$BTF͸ͦͷΫϥΠΞϯτ w -FWFMͷܭଌͰᐆດ͞ճආ w #VTJOFTT3VMFʹ͚ͩͰͳ͘Ͳ͜Ͱ΋ద༻Մೳ
  3. Ұํ޲΁ͷґଘ w ͜ͷ෦෼ w ԼҐ-FWFMͷϨΠϠʔ ίϯϙʔωϯτ ͸
 ্Ґ-FWFMͷϨΠϠʔ ίϯϙʔωϯτ ʹґଘ͢Δ

    w ্Ґ-FWFM͸ɺԼҐ-FWFMͰ࢖༻͞Ε͍ͯΔ໊લΛ
 ར༻ͯ͠͸͍͚ͳ͍ w ܕ໊ɺϝιουɺϓϩύςΟͳͲ w ্Ґ-FWFM͸ɺԼҐ-FWFMͰ࢖༻͞Ε͍ͯΔσʔλߏ଄Λ
 ར༻ͯ͠͸͍͚ͳ͍
  4. w *OUFSGBDF"EBQUFS w .7$ .77. .71 .717.FUD w 42- 3&45"1*

    (SBQI2-FUD w 'SBNFXPSL %SJWFS w J04 "OESPJE 8FC .BSJB%# 'JSFCBTFFUD
  5. ޡ ਖ਼ 5SBOTMBUPS͸ඞਢ ෆཁ 3FQPTJUPSZͱ %BUB4UPSF͸ηοτ ෆཁ .71ύλʔϯΛ࢖͏ ͳΜͰ΋͍͍ &OUJUZ͸%%%Ͱઃܭ

    ͳΜͰ΋͍͍ ϨΠϠʔΛ·͙ͨͱ͖ʹ3FBDUJWF&YUFOTJPOศ ར͡ΌͶʁ ΍Ίͯ ΍Δ͜ͱଟ͘ͳ͔ͬ͢Ͷ Ӿཡ࣮૷ ͳΒ΍ΔՁ஋͋Γ