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

自分のための道具作りのすすめ

irof
August 26, 2020

 自分のための道具作りのすすめ

【オンライン】 JJUGナイトセミナー「おうちで!ビール片手にLT大会!」8/26(水) 開催

irof

August 26, 2020
Tweet

More Decks by irof

Other Decks in Technology

Transcript

  1. ࣗ෼鱳鱤鲆鱳ಓ۩࡞鲏
    鱳鱞鱞鲆
    ++6(鳂鲜鳀鲳鳗鳂鱅鱏鱋鱦鱬ʂ鳋鱅鳣ยख鱰-5େձʂ
    5
    !JSPG

    View full-size slide

  2. Կ鱐࡞鲐鱳鱑
    ษڧ鱰鱯鲐
    ʜʜ鱭鱴ݴ鱋鱖鲑鱮

    View full-size slide

  3. ۀ຿鱬鲯鲱鲾鳘࡞鱨鱫鲐鱜
    ࡞鲏鱤鱉鳚鳆鱨鱫鱯鱉鱜
    鱉鱉鲭鱅鳋鲱鱭鱐ࢥ鱉ු鱐鱵鱯鱉鱜
    鱨鱫鱐鲇鱋ੈ鱰鱇鲐鱥鲒鱋鱜

    View full-size slide

  4. ࠊ鱰鱬鱨鱐鱉ॏੴ鲗
    ๊鱍鱫鲐օ鱚鲘
    鱢鲘鱯օ鱚鲘鱰

    View full-size slide

  5. ࣗ෼鱳鱤鲆鱳
    ಓ۩࡞鲏
    鱳࿩鲗鱜鱫鲄鲃鱞

    View full-size slide

  6. 鱺鱩鱋鱳鳏鳥鲨鳡鳖
    鱇鱤鲏鲃鱍鱳ࣄ鱑鱇鱤鲏鲃鱍鱰ߦ鲔鲑鲐
    鱢鲘鱯ੈք鱑鱉鱉
    鱥鱐鲎鲃鱟鱴
    ࢲ鱳鱜鱫鱉鲐鱘鱭鲗鱇鱤鲏鲃鱍鱰鱞鲐
    鱢鲘鱯ҙਤ鱬࢖鱨鱫鱉鲃鱞
    鱘鱉鱩鱬鱞ˠ
    ʢࣗݾ঺հলུʣ

    View full-size slide

  7. ࣗ෼鱳鱤鲆鱳ಓ۩

    View full-size slide

  8. ࣗ෼鱳鱤鲆鱳ಓ۩
    ࢓ࣄ鲗鱦鲌鱨鱭ָ鱰鱞鲐
    ೔ৗ鲗鱦鲌鱨鱭ָ鱰鱞鲐

    View full-size slide

  9. ࣗ෼鱳鱤鲆鱳ಓ۩
    ࢓ࣄ鲗鱦鲌鱨鱭ָ鱰鱞鲐
    ೔ৗ鲗鱦鲌鱨鱭ָ鱰鱞鲐
    ָ鱜鱤鱉

    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. ୳鱜鱫鲇൒෼鱴֎鱞鱳鱐
    ࡞鲐ཧ༝୳鱜

    View full-size slide

  15. 鱘鱨鱦鱥ʂ
    ࡞鲐ཧ༝୳鱜

    View full-size slide

  16. 鱦鲌鱨鱭鱥鱖ਅ໘໨鱯࿩
    鱬鱒鲐ؾ鱑鱞鲐鲗࢖鱍鲐鱳鱴ॏཁ鱯鲱鲥鳣
    鱬鱒鲐ؾ鱑鱞鲐鱑࢖鱍鲐鱭ɺ൑அ଎౓鲉ਫ਼౓鱑޲
    ্鱜ɺࣄނ鲇ݮ鲏鲃鱞ɻ
    ࢖鱍鱯鱉鱭શ෦ݕূ鱜鱯鱒鲈鱉鱖鱯鱔鱯鲐ɻ鱭鱴ݴ鱍ࠜڌ鱳鱯鱉ࣗ৴鱴֐ѱɻ
    ࣮ࡍ鱰औ鲏૊鲄ɺ鲦鳛鲻鳏鱰ଧ鱦鱳鲆鱚鲑鱩鱩ɺ
    ৴鱝鲎鲑鲐鱭鱘鲒鲃鱬Ҿ鱒্鱗鱫鱏鱒鱤鱉ɻ
    ࢓ࣄ鱬鱴ಘ೉鱉ɻ鱐鲇鱜鲑鱯鱉ɻ
    鲚鲰鳛鲜鳣鱯ߟ鱍ํ鱑ଉ鱜鱫鱤鲎਎鱰鱩鱖鲎鲑鱫鲐鱥鲒鱋鱖鱮鱲ɻ

    View full-size slide

  17. ࣮ྫɿ࠷ۙ࡞鱨鱤鲇鱳
    ʢએ఻鱭鲇ݴ鱋ʣ

    View full-size slide

  18. 鱛鱨鱔鲏
    鲫鱅鳁鲗ॻ鱒鱤鱉ࣗ෼鱳鱤鲆鱳
    42-鱬&3ઃܭ鱞鲐鱤鲆鱳鲼鱅鳣
    &3ਤ鱬࢓্鱗鱫鱐鲎
    %%-鲗ॻ鱔
    %%-ॻ鱉鱫鱐鲎
    &3ਤ鲗ோ鲆
    ಉ࣌鱰ൃల鱚鱠鲐
    鱬鱴鱯鱔

    View full-size slide

  19. &3ਤ鱴ৗ࣌ݟ鱤鱉鲔鱖鱝鲈鱯鱉
    鱐鲎鳙鳫鲾鳂鳫鲱鱚鲑鱯鱔鱯鲐
    &3ਤˠ%%-鱴Մೳ鱥鱖鲑鱮ɺѻ
    鱋৘ใ鱳ࠩ鱯鱮鱬ɺ&3ਤ鱑औ鲏
    ࢒鱚鲑鲐鲍鱋鱰鱯鲐
    ٯ鱯鲎ҡ࣋鱬鱒鲐
    鱘鲑鱑鱬鱒鱤鲎ָ鱰鱯鲐

    View full-size slide

  20. +*(鱳جຊࢥ૝
    ৘ใྔ鱴ଟ鱉
    ؾ鱪鱒鱴ಘ鱪鲎鱉
    ੔߹ੑ鱑อ鱦鲉鱞鱉
    ࣮ଶ鱭ဃ཭鱜鱯鱉
    ৘ใྔ鱴গ鱯鱉
    ؾ鱪鱒鲗ಘ鲉鱞鱉
    ੔߹ੑ鱑อ鱦鱰鱔鱉
    ࣮ଶ鱭ဃ཭鱜鱑鱦
    鲵鳍鳀鲞鲟鲚鱳վળ鲗ॏ鱲鲐鱤鲆鱰
    鲫鱅鳁鲗࣠鱰鱉鱉鱭鱘औ鲏ʢ鱜鱤鱉ʣ
    %PDVNFOU
    $PEF
    د鲏ಓ

    View full-size slide

  21. 鱦鱯鲄鱰+*(
    鲫鱅鳁鱰鲍鲐ઃܭ鲗
    ิॿ鱞鲐ಓ۩鱬鱞ɻ
    鳢鳕鲰鳀鳢鲉鲱鳡鲜
    鳁鲗鱙ཡ鱔鱥鱚鱉ɻ
    +*(鲇ʮࣗ෼鱳鱤鲆
    鱳ಓ۩ʯ鱳Ұ鱩ɻ
    鱖鱮ʮ೥൒ຖि鳢鳢鱅鲱鱜鲍鱋鱡ʯ鱯鲘鱫ྲྀੴ鱰
    ؾܰ鱰ݴ鱍鱯鱉鱐鲎ࠓճ鱴+*(&3%鱬࿩鱜鲃鱞ɻ
    ଞ鱳ಓ۩鱬鲇鱉鱉鲘鱥鱖鱮鱲ɻ
    https://github.com/dddjava/jig
    د鲏ಓ

    View full-size slide

  22. 2&3ਤग़ྗ鲼鱅鳣ɺ鱇鲐鲍鱲ʁ
    ཉ鱜鱉৘ใҎ֎鱴ཁ鲎鱯鱉
    ໨త鱴&3ઃܭࢧԉɻཉ鱜鱉鱳鱴3ʢ',ʣ鱥鱖鱬ଞ鱴鳆鲜鲲
    )%BUBCBTF&OHJOFରԠ
    IDPOTPMF鱰૊鲄ࠐ鲄鱤鱉ࢥ鱉鱇鲐ʢࢥ鱉鱥鱖ʣ
    +BWB鱐鲎࣮ߦ鱜鱤鱉
    鲾鲱鳀ɺ鲚鳏鳢鲩鱅鲯鳟鳫鲭鱅鳈鱅ىಈ࣌ɺ鳢鲧鲠鲱鳀࣌

    View full-size slide

  23. ࣮ߦྫ
    4QSJOH#PPU5FTU鱥鱭%#ઃఆ鲗೚鱠鲎鲑鲐鱳鱬ָ
    ผ鱰4QSJOH#PPU鱝鲈ແ鱔鱫鲇ಈ鱒鲃鱞

    View full-size slide

  24. ࢥ鱉ཱ鱨鱫鱐鲎鱳鲷鲜鳘鳡鲜鳫
    ࡾ࣌ؒ鱦鲌鱉
    ࡞鲒鱋
    鳢鳢鱅鲱

    鲚鲻鳏鲿鱅鳀鱭鱐
    ࡞鲑鲐ؾ鱑鱞鲐
    鱯鲘鱐鱯鱉鱐鱯鱭
    ୳鱜鱤鲏
    ࢼ鱜鱤鲏

    View full-size slide

  25. ࢥ鱉ཱ鱨鱫鱐鲎鱳鲷鲜鳘鳡鲜鳫
    ࡾ࣌ؒ鱦鲌鱉
    ࡞鲒鱋
    鳢鳢鱅鲱

    鲚鲻鳏鲿鱅鳀鱭鱐
    ࡞鲑鲐ؾ鱑鱞鲐
    鱯鲘鱐鱯鱉鱐鱯鱭
    ୳鱜鱤鲏
    ࢼ鱜鱤鲏
    鲍鱅鱞鲐鱰
    鱦鱯鲄鱰ɺ鱘鱳-5鱰ਃ鱜ࠐ鲘鱥೔鱬鱞ɻ
    鱢鱉鲉ࠓ೔鱘鲑࡞鱨鱤鱯鱨鱫ࢥ鱨鱫ɻ
    ਂ໷鱳鳆鳢

    View full-size slide

  26. ॳճ鳢鳢鱅鲱࣌鱳શ
    鲵鱅鲱
    ݟ鱫鱳௨鲏鲧鳡
    鲱ɺ鳙鲵鲻鳁
    ৭ʑ鱇鲐鱖鱮ɺԿ鲍
    鲏ྫ֎ॲཧ鱳鲉鲐ؾ
    鱳鱯鱚
    YՕॴ
    鱘鲘鱯鱳鱬鲇ެ։鱜鱫鱉鱉鲘鱥鲍

    View full-size slide

  27. ॳճ鳢鳢鱅鲱࣌鱳શ
    鲵鱅鲱
    ݟ鱫鱳௨鲏鲧鳡
    鲱ɺ鳙鲵鲻鳁
    ৭ʑ鱇鲐鱖鱮ɺԿ鲍
    鲏ྫ֎ॲཧ鱳鲉鲐ؾ
    鱳鱯鱚
    YՕॴ
    େ૚鱯鲇鱳鱬
    鱯鱔鱫鱉鱉
    鱘鲘鱯鱳鱬鲇ެ։鱜鱫鱉鱉鲘鱥鲍

    View full-size slide

  28. 鱘鱳ؒ鱰ಘ鱤鱘鱭
    )鱳؅ཧ鲾鱅鳎鳣鱳ݟํ
    (JU)VC1BDLBHFT鱳࢖鱉ํ
    ͱඍົ͞ɻͳΜͰऔಘ͚ͩͳͷʹೝূ͍ΔͷΑɻ
    +'SPH#JOUSBZ鱳࢖鱉ํ

    View full-size slide

  29. 鲚鲻鳏鲿鱅鳀ॾʑ
    ґଘ鳡鲜鳎鳡鳢֎鱜
    TMGKˠKVM
    FYFDVUBCMFKBS鱰
    鱜鲍鱋鱭鱜鱫鲉鲆鱫NBJO鱥鱖௥Ճ
    KECD鳁鳡鲜鳈བྷ鲄ɻTIBEPXKBS鱐鱯ʜʜ
    3&"%.&鲉XJLJॻ鱉鱤鲏
    ઃఆ鱳֎෦Խ
    8JOEPXT޲鱖鱳$*
    1PTUHSF42-ରԠ
    ',鱭鲐鱳ࢥ鱨鱤鲍鲏鲆鲘鱮鱋ʜʜ
    د鲏ಓ

    View full-size slide

  30. ॳճಛయ
    ʢ鳢鲳鳖鳡Մʣ
    鳗鳃鳖鳣ʢ鱐鲒鱋鱝鱫ಈ鱔࠷খݶʣ
    鱳ݟ੾鲏
    ར༻ऀ鱰޲鱖鱤鳁鲥鳝鳙鳫鳀鱳ߟ鱍
    ࢓ࣄ鱬୭鱑ಡ鲅鱐鲔鱐鲎鱯鱉鳁鲥鳝鳙鳫鳀鱜鱐࡞鱨鱤鱘鱭鱯鱉鱯鲎ಛ鱰ɻ
    鳡鲜鲳鳫鲱鲉鳈鱅鲰鳟鳫鱳ܾ鲆ํ
    +BWB鱳ର৅鳈鱅鲰鳟鳫鱳ײ֮
    ެ։ํ๏ɺ৔ॴ鱳બ鱸ํ

    View full-size slide

  31. ࣗ෼鱬ߟ鱍鱫
    ࣗ෼鱬ܾ鲆鲐
    ࣗ෼鱳ࠔ鲏鱙鱭鱽鱳
    ޮՌ鱬ධՁ鱞鲐
    ଞ鱳୭鱬鲇鱯鱔

    View full-size slide

  32. ࢓ࣄ鱬ಘ鱤஌ࣝ鱬
    ࣗ෼鱳ಓ۩鲗࡞鲐
    ࢓ࣄ鱑ָ鱰鱯鲐
    ଞ鱳ࠔ鲏鱙鱭鲇
    鱯鲘鱭鱐鱜鱤鱔鱯鲐
    ྗ鱑鱩鱔
    ແݶࣗݾڧԽ鳣鱅鳏

    View full-size slide

  33. ࣗ෼鱰ด鱝鲐鱐鲎
    ࠷଎鱬鳍鲛鱅鳁鳈鲻鲧鳣鱅鳏
    鱑ճ鱠鲐
    ޮՌ鱳൑ఆ鱰鲯鳋鲚鱰鱯鲐
    鱬鱒鲑鱵ެ։鲃鱬࣋鱨鱫鱉鱔
    ެ։ҙࣝ鱜鱯鱐鱨鱤鲎ֶशޮՌܹݮ鱜鱫鱦鲌鱨鱭鲇鱨鱤鱉鱯鱉

    View full-size slide

  34. ࢓ࣄ鱬ಘ鱤஌ࣝ鲗࢖鱨鱫
    ࣗ෼鱳ࠔ鲏鱙鱭鲗
    鱯鲘鱭鱐鱞鲐ಓ۩鲗࡞鱨鱫
    ެ։鱜鱫鲄鲍鱋
    鱤鱭鱍୭鲇࢖鲔鱯鱔鱫鲇ʜʜʂ

    View full-size slide

  35. 鲍鱖鲑鱵鱮鱋鱣
    https://github.com/irof/jig-erd
    ґଘ鱰௥Ճ鱜鱫
    鲾鲱鳀ݸ
    ஔ鱉鱭鱔鱥鱖
    ଞ鱳࣮ߦํ๏鱴3&"%.&鱭鱐鱰ॻ鱉鱫鲃鱞
    ݱࡏ鱬CJOUSBZ鱳鱤鲆鳢鳕鲰鳀鳢鱴௥Ճ鱑ඞཁ
    鱬HSPVQ*E鱭鱐ม鱍鱫DFOUSBM鱭鱐KDFOUFS鱭鱐༧ఆ

    View full-size slide