#phpconfuk ソフトウェア設計がプロジェクト管理にどのように影響を与えるか
by
hideki kinjyo
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
PHP Conference FUKUOKA 2023 Hideki Kinjyo GitHub: o0h / Twitter: @o0h_ [൛]
Slide 2
Slide 2 text
Ӿཡ࣌ͷҙ <>
Slide 3
Slide 3 text
ࣗݾհ / GitHub: @o0h / Twitter: @o0h_ FW CakePHP from to #phpconfuk.2017
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
ࢦͤʂ͜Ε͕࠷ڧͷϓϩδΣΫτͩʂ
Slide 6
Slide 6 text
࠷ڧͷϓϩδΣΫτͳͷͰɺಓΛߦ͖·͢ 3 10 1 30 OK
Slide 7
Slide 7 text
No content
Slide 8
Slide 8 text
ා͍ʂ͜Ε͕࠷ऑͷϓϩδΣΫτͩʂ
Slide 9
Slide 9 text
࠷ऑͷϓϩδΣΫτͳͷͰɺࣃΛ৯͍͠Γ·͢ OK
Slide 10
Slide 10 text
No content
Slide 11
Slide 11 text
ຊͷςʔϚ
Slide 12
Slide 12 text
͓͠ͳ͕͖ $1 - $2 - $3 - $4 - $5 -
Slide 13
Slide 13 text
§1
Slide 14
Slide 14 text
͔ͩΒϓϩδΣΫτ͍ͬͯ͠Μͩ
Slide 15
Slide 15 text
https://ja.wiktionary.org/wiki/ਆ
Slide 16
Slide 16 text
ϓϩδΣΫτͷਆͱ(ෆ߹ͳ)ਅ࣮ < > : < >
Slide 17
Slide 17 text
ਓ݄ͷਆ 装 [ग़య] ※ڧௐεϥΠυஶऀ ᴷ Jr FrederickP.Brooks, ୌ ప, ༞ࢠ, ᖒ ঢ. ਓ݄ͷਆ ৽൛ P14, P17 ʰਓ݄ͷਆʱ
Slide 18
Slide 18 text
ιϑτΣΞΤϯδχΞϦϯάͷຊ࣭తͳࠔ 1 [ग़య] ※ڧௐεϥΠυஶऀ ᴷ Jr FrederickP.Brooks, ୌ ప, ༞ࢠ, ᖒ ঢ. ਓ݄ͷਆ ৽൛ P170, P188ʰۜͷͳͲͳ͍ᴷιϑτΣΞΤϯδχΞϦϯάͷຊ࣭ͱۮ༗తࣄ߲ʱ
Slide 19
Slide 19 text
( | )
Slide 20
Slide 20 text
§2
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
ϚΠϯυηοτ: ʮશͯมΘΔɺͦΕ͚͕ͩෆมʯ etc
Slide 23
Slide 23 text
ϚΠϯυηοτ: ʮશͯมΘΔɺͦΕ͚͕ͩෆมʯ etc ʮԿ͔Λ্ख͘࡞ΔʯͨΊͷࠜຊతͳཁૉͷ֬ূ͕Γͳ͍
Slide 24
Slide 24 text
ϚΠϯυηοτ: ʮશͯมΘΔɺͦΕ͚͕ͩෆมʯ ( )
Slide 25
Slide 25 text
ϚΠϯυηοτ: ʮશͯมΘΔɺͦΕ͚͕ͩෆมʯ :
Slide 26
Slide 26 text
ҙࢥܾఆΛͰ͖Δ͚ͩΒͤΔ [ग़య] ※ڧௐεϥΠυஶऀ ᴷ Mary Poppendieck, Tom Poppendieck, ఱ উ, ฏು ݈ࣇ, ߴౢ ༏ࢠ Ϧʔϯ։ൃͷຊ࣭ : ιϑτΤΞ։ൃʹ׆͔͢7ͭͷݪଇ P39
Slide 27
Slide 27 text
બࢶΛ(࠷ޙ·Ͱ)͓ͯ͘͠ [ग़య] ※ڧௐεϥΠυஶऀ ᴷ Mary Poppendieck, Tom Poppendieck, ఱ উ, ฏು ݈ࣇ, ߴౢ ༏ࢠ Ϧʔϯ։ൃͷຊ࣭ : ιϑτΤΞ։ൃʹ׆͔͢7ͭͷݪଇ P39
Slide 28
Slide 28 text
ֶशɺਐతͳઃܭ [ग़య] ※ڧௐεϥΠυஶऀ ᴷ Mary Poppendieck, Tom Poppendieck,ࠤ ݐथ, ฏು ݈ࣇ, ߴౢ ༏ࢠ ϦʔϯιϑτΤΞ։ൃ : ΞδϟΠϧ։ൃΛ࣮ફ͢Δ22ͷํ๏ P211, P212, P217
Slide 29
Slide 29 text
ਐతͳઃܭͷ࣮ફ: நԽjust in timeʹ! Pet [ग़య] ※จࣈ৭ɺจࣈαΠζʹΑΔڧௐεϥΠυஶऀ ᴷ ాத ͻͯ͞Δ ͪΐ͏ͥͭιϑτΣΞઃܭೖʕʕPHPͰཧղ͢ΔΦϒδΣΫτࢦͷ׆༻ P 57
Slide 30
Slide 30 text
ઃܭͷѱष ─ ػಈੑɾదԠྗΛଛͳΘͤΔ 1. 1 美 2. 1 5. 7. [ग़య] ※ڧௐεϥΠυஶऀ ᴷ Robert Cecil Martin, ୩ ܒհ ΞδϟΠϧιϑτΣΞ։ൃͷԞٛ : ΦϒδΣΫτࢦ։ൃͷਆͱঊͷٕ P108 (Ұ෦ൈਮ)
Slide 31
Slide 31 text
Δ͖͜ͱ 1. YAGNI KISS XP 2. 3. (= )
Slide 32
Slide 32 text
§3
Slide 33
Slide 33 text
ྫ: ͜ΜͳϓϩδΣΫτΓ·͢ er
Slide 34
Slide 34 text
Ͱ͖Β͊ʂ
Slide 35
Slide 35 text
ੲྑ͔ͬͨ [ ] [ ] [ 縮 ] DB(blob) [ ] [ 縮 ]
Slide 36
Slide 36 text
ࣸਅΛෳߘͰ͖ΔΑ͏ʹͯ͠ཉ͍͠
Slide 37
Slide 37 text
ࣸਅΫϥυετϨʔδʹೖΕ͍ͨ
Slide 38
Slide 38 text
τοϓϖʔδͷද͕͍͔ࣔΒΩϟογϡ͠Α͏
Slide 39
Slide 39 text
มߋίετ͕େ͖͍ = ͕࣌ؒΓͳ͘ͳΔ 縮
Slide 40
Slide 40 text
ʮมΘͬͯOKʯΛ࡞ΓࠐΉ [ग़య] ※ڧௐεϥΠυஶऀ ᴷ Juval Löwy, גࣜձࣾϩϯάςʔϧ ඌ ߴ߂ ϥΠςΟϯάιϑτΣΞ P29
Slide 41
Slide 41 text
มಈੑΛᄿ͚͗ͭͯɺઃܭ͢Δ ( ) Driver S3 Dropbox MySQL ( ) ( ) (IMO) : Interface
Slide 42
Slide 42 text
ͬ͘͟Γநతʹղͯ͠ΈΔ [ ver.] form POST DB DB 204 [ ver.] HTTP
Slide 43
Slide 43 text
ͬ͘͟Γநతʹղͯ͠ΈΔ ۩ͷهड़ நతͳهड़ ڞ௨ ಈࢺ Ϣʔβʔ Ϣʔβʔ ͕͍ͯ ͓ͰΜΞΫςΟϏςΟߘϑΥʔϜ ΫϥΠΞϯτ ʹೖྗ͠ ʮࣸਅɾ͓ళɾίϝϯτʯ )551 ϦΫΤετ Λड৴͠ %#ΧϥϜʹ߹Θͤͯ ΞϓϦέʔγϣϯͰѻ͍͘͢ σʔλߏΛม͠ όϦσʔγϣϯ อଘલॲཧ Λֻ͚ %#ͱΫϥυετϨʔδ વΔ͖ॴ อଘ͠ Ωϟογϡͷߋ৽ อଘޙॲཧ Λ͠ Ϩεϙϯε વΔ͖Ϩεϙϯε Λฦ͢
Slide 44
Slide 44 text
நԽʹΑΔɺࣝͷΧϓηϧԽ/ͷ UI form DB ( ) ۩ͷهड़ Ϣʔβʔ ͓ͰΜΞΫςΟϏςΟߘϑΥʔϜ ʮࣸਅɾ͓ళɾίϝϯτʯ %#ΧϥϜʹ߹Θͤͯ όϦσʔγϣϯ %#ͱΫϥυετϨʔδ Ωϟογϡͷߋ৽ Ϩεϙϯε
Slide 45
Slide 45 text
நԽʹΑΔɺࣝͷΧϓηϧԽ/ͷ DTO Controller $_POST DB ۩ͷهड़ நతͳهड़ ڞ௨ ಈࢺ %#ΧϥϜʹ߹Θͤͯ ΞϓϦέʔγϣϯͰѻ͍͘͢ σʔλߏΛม͠
Slide 46
Slide 46 text
۩ͷهड़ நతͳهड़ ڞ௨ ಈࢺ όϦσʔγϣϯ อଘલॲཧ Λֻ͚ நԽʹΑΔɺࣝͷΧϓηϧԽ/ͷ Validator Controller
Slide 47
Slide 47 text
۩ମతͳهड़ நతͳهड़ ڞ௨ ಈࢺ Ωϟογϡͷߋ৽ อଘޙॲཧ Λ͠ நԽʹΑΔɺࣝͷΧϓηϧԽ/ͷ Pub/Sub Controller beforeSave afterSave
Slide 48
Slide 48 text
ʮநԽʯʮৄࡉͷʯʹΑͬͯಘΒΕΔͷ 1. 2.
Slide 49
Slide 49 text
ιϑτΣΞʹʮॊΒ͔͞ʯΛ Contorller ( ) 1
Slide 50
Slide 50 text
มߋʹΑΔμϝʔδΛޚ͢Δ [ग़య] ᴷ Grady Booch, ੴ ࠀݾ ΦϒδΣΫτιϦϡʔγϣϯʕΦϒδΣΫτࢦϓϩδΣΫτͷཧ P29
Slide 51
Slide 51 text
ϓϩδΣΫτʹʮॊΒ͔͞ʯΛ Contorller = ex) ( How ) =
Slide 52
Slide 52 text
ιϑτΣΞɺԼ͔Β࡞Δ͔ʁ্͔Β࡞Δ͔ʁ : DB form
Slide 53
Slide 53 text
Slide 54
Slide 54 text
$input $input fi le_name shop null RDB etc …
Slide 55
Slide 55 text
ιϑτΣΞɺԼ͔Β࡞Δ͔ʁ্͔Β࡞Δ͔ʁ : request response ( ) = JIT
Slide 56
Slide 56 text
Slide 57
Slide 57 text
縮 縮 ( )
Slide 58
Slide 58 text
Λ(૬ରతʹ)ଊ͑ɺՌͨ͢ [ग़య] ※ڧௐεϥΠυஶऀ ᴷ Steve Freeman, Nat Pryce, ஐ ӈܡ, ߴ ਖ਼߂ ࣮ફςετۦಈ։ൃ : ςετʹಋ͔ΕͯΦϒδΣΫτࢦιϑτΣΞΛҭͯΔ P15
Slide 59
Slide 59 text
ιϑτΣΞɺ্͔Β࡞Βͳ͍ʁ ( ) 縮 (& ) ( ) UX ( )
Slide 60
Slide 60 text
ιϑτΣΞɺ্͔Β࡞Βͳ͍ʁ
Slide 61
Slide 61 text
ʮͷʯʹΑͬͯಘΒΕΔͷ 1. 2.
Slide 62
Slide 62 text
ιϑτΣΞʹʮྗੑʯΛ Contorller = ( )
Slide 63
Slide 63 text
ϓϩδΣΫτʹʮྗੑʯΛ
Slide 64
Slide 64 text
ΫϦςΟΧϧύεΛ΄͙͢ CriticalPath [ग़య] ᴷGoldratt, Eliyahu M, ࡾຊ ྄, ۂ ެೋ(ղઆ) ΫϦςΟΧϧνΣʔϯ : ͳͥɺϓϩδΣΫτ༧ఆͲ͓Γʹਐ·ͳ͍ͷ͔? (Kindle ൛) No.4862-4864, No.4253-4255
Slide 65
Slide 65 text
·ͱΊ Q. ? A. ( )
Slide 66
Slide 66 text
·ͱΊ ( )
Slide 67
Slide 67 text
·ͱΊ CI ( ) TDD
Slide 68
Slide 68 text
§4
Slide 69
Slide 69 text
ϓϩδΣΫτԿΛͨ͠Βૣ͘ͳΔ͔ʁ ( ) ( ) ( )
Slide 70
Slide 70 text
ਓΛ૿ͯ͠ϓϩδΣΫτ͕ૣ͘ͳΒͳ͍ʁ 3 3 3 縮
Slide 71
Slide 71 text
ਓΛ૿ͯ͠ϓϩδΣΫτ͕ૣ͘ͳΒͳ͍ʁ 3 3 1.5 : http://scrumbook.org/product- organization-pattern-language/development-team/ swarming--one-piece-continuous- fl ow.html
Slide 72
Slide 72 text
ਓΛ૿ͯ͠ϓϩδΣΫτ͕ૣ͘ͳΒͳ͍ʁ 1 1 ( ) ( )
Slide 73
Slide 73 text
৫ϨϕϧͰͷΞϓϩʔν 縮 Team Topologies Platform team: Complicated sub-system team:
Slide 74
Slide 74 text
No content
Slide 75
Slide 75 text
େ·ͱΊ - lity XP SOLID
Slide 76
Slide 76 text
No content
Slide 77
Slide 77 text
͓͠·͍ʂ ͓͖߹͍͍͖ͨͩ ͋Γ͕ͱ͏͍͟͝·ͨ͠
Slide 78
Slide 78 text
§X Appendix
Slide 79
Slide 79 text
ࢀߟจݙ
Slide 80
Slide 80 text
ਓ݄ͷਆ ৽൛
Slide 81
Slide 81 text
ϒϧοΫεͷ͍͏ۜͷؙͱԿ͔? 6/15 kawasima TSD IUUQTXXXTMJEFTIBSFOFULBXBTJNBTT
Slide 82
Slide 82 text
ϥΠςΟϯάιϑτΣΞ
Slide 83
Slide 83 text
ΞδϟΠϧιϑτΣΞ։ൃͷԞٛ SOLID Clean Architecture ( ) (XP) TDD
Slide 84
Slide 84 text
ͪΐ͏ͥͭιϑτΣΞઃܭೖ /
Slide 85
Slide 85 text
࣮ફςετۦಈ։ൃ ( )TDD
Slide 86
Slide 86 text
ΦϒδΣΫτࢦઃܭ࣮ફΨΠυ ( ) PHP Interface /
Slide 87
Slide 87 text
ϓϩδΣΫτϚωδϝϯτࣝମܥΨΠυ ୈ7൛ 駄
Slide 88
Slide 88 text
ʮք۾ がざ Θͭ͘΄ ど ਐԽͨ͠PMBOKୈ7൛ʯʹࢲͨͪ ど ͏औΓΉ͔ Developers summit 2022 PMBOK 7th TSD IUUQTTQFBLFSEFDLDPNNJ[@LVTIJEBKJFXFJLBTBXBUVLVIPUPDIBPKJOIVB TJUBQNCPLEJCBOOJTJUBUJIBUPVRVSJ[VNVLB
Slide 89
Slide 89 text
ΫϦςΟΧϧνΣʔϯ 1 1 /
Slide 90
Slide 90 text
ϦʔϯιϑτΤΞ։ൃ 1 This is Lean
Slide 91
Slide 91 text
Ϧʔϯ։ൃͷຊ࣭