Isolating-the-domainの紹介

83579d17f780c8712ac17fa800efbbbb?s=47 haljik
October 21, 2017

 Isolating-the-domainの紹介

DDDを実践するときに初期の雛形としてつかっている公開リポジトリの紹介

83579d17f780c8712ac17fa800efbbbb?s=128

haljik

October 21, 2017
Tweet

Transcript

  1. *TPMBUJOHUIFEPNBJOͷ঺հ ,"/+"7" !IBMKJL 

  2. ࣗݾ঺հ w UXJUUFS!IBMKJL w ໊લɿՏ্੖࢘ʢ͔Θ͔Έ͍ͤ͡ʣ w ϑϦʔϥϯε೥໨ͷ+BWBϓϩάϥϚ w ؔ੢%%%KBWBओ࠵ 

  3. ࠂ஌ w ໌೔݄೔ w ʮݱ৔Ͱ໾ཱͭγεςϜઃܭͷݪଇʯಡ ॻձୈ̓ճIUUQT LBOTBJEEEDPOOQBTTDPNFWFOU  w ஶऀͷ૿ా͞ΜΛήετʹܴ͑ͯ

  4. ࠓ೔࿩͢ࣄ w *TPMBUJOHUIFEPNBJOͱ͸ w *TPMBUJOHUIFEPNBJOͱ͍͏
 ϓϩδΣΫτͷ঺հ 

  5. *TPMBUJOHUIFEPNBJOͱ͸ w ΤϦοΫɾΤϰΝϯεͷυϝΠϯۦಈઃ ܭʹ͓͚Δୈ̎෦ୈ̐ষͷλΠτϧ
 ʮυϝΠϯΛִ཭͢Δʯ
 ͷݪஶʹ͓͚ΔදݱͰ͢ɻ

  6. *TPMBUJOHUIFEPNBJOͱ͍͏ ϓϩδΣΫτͷ঺հ w IUUQTHJUIVCDPNTZTUFNTFLLFJJTPMBUJOH UIFEPNBJO w ૿ా͞Μ΍ࢲͳͲ͕࣮ࡍͷϓϩδΣΫτͷ਽ܗͱ ͯ͠ར༻ w νʔϜ಺Ͱͷڞ௨ೝࣝΛ࣋ͭͨΊͷಓ۩Ͱ΋͋Δɻ

    w ໊લͷ௨ΓυϝΠϯΛִ཭͢ΔΞʔΩςΫνϟ w ৗʹਐԽ్্
  7. ಡΉ΂͖ͱ͜Ζ w ઃܭΨΠυIUUQTHJUIVCDPN TZTUFNTFLLFJJTPMBUJOHUIFEPNBJO XJLJ w ࠎ֨ͱͳΔύοέʔδʹ഑ஔ͞Εͨ QBDLBHFJOGPKBWBͷهड़ w ͍͔ʹͯ͠υϝΠϯΛִ཭͍ͯ͠Δ͔

  8. ࠎ֨ͱͳΔύοέʔδʹ഑ஔ͞ ΕͨQBDLBHFJOGPKBWBͷهड़ w ୈҰ֊૚͚ͩൈਮ w BQQMJDBUJPO
 ΞϓϦέʔγϣϯ૚
 ࣮ݱ͢ΔΞϓϦέʔγϣϯػೳΛදݱ͢Δ
 υϝΠϯ૚΁ͷϑΝαʔυ w

    EPNBJO
 υϝΠϯ૚
 ۀ຿ͷ஌ࣝɺར༻ऀͷؔ৺ࣄΛهड़͢Δ w JOGSBTUSVDUVSF
 ٕज़ج൫
 ͜ͷϨΠϠͷΫϥεΛଞͷϨΠϠͷΫϥε͸௚઀ݺͼग़͞ͳ͍͜ͱ
 ʜུ w QSFTFOUBUJPO
 ϓϨθϯςʔγϣϯ૚
 Ϗϡʔτίϯτϩʔϥͷஔ͖৔ॴ
  9. ͍͔ʹͯ͠υϝΠϯΛִ཭͍ͯ͠Δ͔ w υϝΠϯͰఆٛͨ͠ΠϯλʔϑΣʔεͷ ࣮૷ΛΠϯϑϥετϥΫνϟ૚Ͱ࣮૷͠ ͍ͯ·͢

  10. ࣮ࡍͷϓϩδΣΫτͰ͸ w ͋Δఔ౓ͷن໛ʹͳΔͱɺ΄ͱΜͲͷ৔߹Ͱڥքͮ ͚ΒΕͨίϯςΩετ͕ෳ਺ʹͳΔͷͰϚϧνϓϩ δΣΫτߏ੒ʹͳΔ w ΞϓϦέʔγϣϯ૚ɺυϝΠϯɺΠϯϑϥετϥΫ νϟΛɺҟͳΔϓϨθϯςʔγϣϯ૚͔Βڞ༗͢Δ ߏ੒ͱͳΔࣄ΋ w

    BQQMJDBJUPOVTFDBTFɺEPNBJOCBTJDύοέʔδͳ Ͳ͸࣮ݧతͰ·ͩͲ͏࢖͏΂͖͔໎͍ͬͯΔͱ͜Ζ
  11. ࢀߟࢿྉ w 4QSJOH.7$ʹ͍ͭͯ
 IUUQTTQFBLFSEFDLDPNIBMKJLTIJMV TQSJOHNWD࣮࿥4QSJOH.7$ w νʔϜͰڞ༗͓ͯ͘͜͠ͱ
 IUUQTTQFBLFSEFDLDPNIBMKJLQV EVBOTIJJGBMTFEEE TMJEFීஈ࢖͍

    ͷ%%%