Slide 1

Slide 1 text

ίʔυͷࣗಈमਖ਼ʹΑ࣮ͬͯݱ͢Δ ػೳ։ൃΛࢭΊͳ͍ϑϨʔϜϫʔΫҠߦ άϦʔϥΠϑελΠϧגࣜձࣾ ໦ଜ༸ଠ

Slide 2

Slide 2 text

໦ଜ༸ଠ ˔ॴଐ ˓ άϦʔϥΠϑελΠϧגࣜձࣾ ϓϩμΫτ։ൃ෦ ϝσΟΞ։ൃ άϧʔϓ ΤϯδχΞϦϯάνʔϜ ˔ܦྺ ˓ ೥ άϦʔϥΠϑελΠϧגࣜձࣾ ೖࣾ ˓ ओʹʮ-*.*"ʯͷαʔόʔɾΠϯϑϥ։ൃ ࣗݾ঺հ 2 2

Slide 3

Slide 3 text

LIMIAを知っていますか? ⓘ Start presenting to display the poll results on this slide.

Slide 4

Slide 4 text

͓खܰͰɺ͙͢ਅࣅͰ͖ΔͷʹɺͪΌΜͱ฻Β͠΍͍͢ɻ -*.*"͸Ոࣄͷ޻෉͕େू߹͢ΔϥΠϑελΠϧϝσΟΞͰ͢ɻ ͓खܰ޻෉ͰՈࣄ্ख -*.*"ͷ঺հ

Slide 5

Slide 5 text

˔Ҡߦલ ˓ ϑϨʔϜϫʔΫ ˙ 'VFM1)1 ˓ ݴޠ ˙ 1)1 ˓ Πϯϑϥ ˙ &$ ˔Ҡߦޙ ˓ ϑϨʔϜϫʔΫ ˙ -BSBWFM ˓ ݴޠ ˙ 1)1 ˓ Πϯϑϥ ˙ &$4'BSHBUF 5 ϑϨʔϜϫʔΫҠߦϓϩδΣΫτ https://aws.amazon.com/jp/architecture/icons/

Slide 6

Slide 6 text

6 ҠߦϓϩδΣΫτͷεέδϡʔϧ ˔ػೳ։ൃΛࢭΊͣʹҠߦͯ͠ཉ͍͠ͱ͍͏ཁ๬ ˔Ҡߦʹ͔͚ΒΕΔ޻਺͸ݶΒΕ͍ͯͨ ˓ ฒߦ։ൃظ͕ؒ௕ͦ͏ͳݟࠐΈͩͬͨ 方針 検討 コード自動修正ルールの作成 QA・バグ修正 インフラ検証 ݄ ݄ ݄ ݄ ݄ ࣮ࡍͷҠߦεέδϡʔϧ 社内管理ツール リリース カナリヤ リリース開始 0.5人 1人 2人

Slide 7

Slide 7 text

7 ͳͥࣗಈमਖ਼ʹ౿Έ੾͔ͬͨʁ ˔ܰྔͳ'VFM1)1ػೳͷଟ͍-BSBWFM΁ͷҠߦ ˓ %# 2VFSZ#VJMEFS $POUSPMMFS͋ͨΓΛஔ͖׵͑Ε͹ྑͦ͞͏ ˓ 7JFXपΓ͸ςϯϓϨʔτΤϯδϯΛஔ͖׵͑Δ͚ͩͰྑͦ͞͏ ˔खಈमਖ਼ͷݫ͠͞ ˓ ສߦ௒͑ͷίʔυϕʔε ˓ ਓ΍͕࣌ؒ଍Γͳ͍ ˓ ػೳ։ൃΛฒߦͰߦ͍͍͕ͨʜʜ ˙ ҠߦݩͱҠߦޙͷίʔυͷ྆ํΛมߋ͢Δඞཁ͕͋Δ ˙ ҠߦޙͷίʔυʹมߋΛՃ͑ΔͱDPOGMJDU͕ى͜ΓಘΔ ˙ ػೳ։ൃΛࢭΊΔ͔͠ͳ͍͕ɺࢭΊͨ৔߹͸൒೥ۙ͘ػೳ։ൃ͕ਐ·ͳ͍͜ͱ ͕ݟࠐ·Εͨ

Slide 8

Slide 8 text

8 3FDUPS SFDUPSQIQSFDUPS ˔ࣗಈϦϑΝΫλϦϯάɾϚΠάϨʔγϣϯπʔϧ ˓ %FBE$PEF &BSMZ3FUVSOͳͲͷϦϑΝΫλϦϯάϧʔϧ ˓ 1)1όʔδϣϯͷVQHSBEF EPXOHSBEF ˔ಛ௃ ˓ OJLJDQIQBTU Λϕʔεʹந৅ߏจ໦ʢ"45ʣΛฤू ˓ ܕ৘ใΛ1)14UBO͔ΒऔಘͰ͖Δ ˓ ςετ͕ॻ͖΍͍͢ ˓ ։ൃ͕׆ൃ

Slide 9

Slide 9 text

9 ϑϨʔϜϫʔΫҠߦʹ͓͚Δίʔυͷमਖ਼ྫ ˔2VFSZ#VJMEFSͷஔ͖׵͑ ˓ XIFSF DPM JO C XIFSF*O B C ˓ XIFSF DPM TVC2VFSZ XIFSF4VC DPM TVC2VFSZ ˓ %#TFMFDU@BSSBZ <JE OBNF> %#TFMFDU JE OBNF ˔$POUSPMMFSͷஔ͖׵͑ ˓ *OQVU 3FRVFTU 3FTQPOTFͳͲΛରԠ͢Δϝιουʹஔ͖׵͑ ˓ $POUSPMMFSΛQTS४ڌʹSFOBNF ˓ QTSͷOBNFTQBDFʹ߹ΘͤͨσΟϨΫτϦ΁Ҡಈ

Slide 10

Slide 10 text

10 3FDUPSͷม׵ྫ&BSMZ3FUVSO $IBOHF/FTUFE*GT5P&BSMZ3FUVSO3FDUPS public function hoge($value) { if ($value % 2 === 0) { if ($value % 3 === 0) { return 'yes'; } } return 'no'; } public function hoge($value) if ($value % 2 !== 0) { return 'no'; } if ($value % 3 === 0) { return yes; } return 'no'; }

Slide 11

Slide 11 text

11 ந৅ߏจ໦ "CTUSBDU4ZOUBY5SFF"45 https://github.com/nikic/PHP-Parser

Slide 12

Slide 12 text

12 3FDUPSͷॲཧʢந৅ߏจ໦ͷฤूʣ public function getNodeTypes(): array { return [String_::class]; } public function refactor($node): ?Node { if ($node->value === "Hello World!") { $node->value = "Hello GREE Tech Conf!"; return $node; } return null; } Scalar_String value: Hello GREE Tech Conf! Stmt_Expression expr Expression_Assign var, expr Expression_Variable name: var expr var Scalar_String value: Hello World! Scalar_String value: Hello World!

Slide 13

Slide 13 text

13 3FDUPSͷॲཧʢந৅ߏจ໦͔Βίʔυͷߏஙʣ Scalar_String value: Hello GREE Tech Conf!

Slide 14

Slide 14 text

14 ࣮ࡍͷίʔυࣗಈमਖ਼ͷྫ 'VFM1)1 ¥DB::select_array(['id', 'name'])->from('user'); -BSBWFM ¥DB::table('user')->select('id', 'name')

Slide 15

Slide 15 text

15 ࣮ࡍͷ3FDUPSϧʔϧTFMFDUGSPNΛUBCMFTFMFDU ¥DB::select_array(['id', 'name'])->from('user'); ¥DB::table('user')->select_array(['id', 'name']); TFMFDUGSPNΛUBCMFTFMFDUʹมߋ

Slide 16

Slide 16 text

16 ࣮ࡍͷ3FDUPSϧʔϧTFMFDU@BSSBZΛTFMFDU ¥DB::table('user')->select('id', 'name'); ¥DB::select_array(['id', 'name'])->from('user'); ¥DB::table('user')->select_array(['id', 'name']); TFMFDUGSPNΛUBCMFTFMFDUʹมߋ TFMFDU@BSSBZͷҾ਺Λల։

Slide 17

Slide 17 text

作成したRectorのルール数 ⓘ Start presenting to display the poll results on this slide.

Slide 18

Slide 18 text

18 ౴͑

Slide 19

Slide 19 text

19 ͳͥࣗಈमਖ਼ʹ౿Έ੾͔ͬͨʁʢ࠶ܝʣ ˔ܰྔͳ'VFM1)1ػೳͷଟ͍-BSBWFM΁ͷҠߦ ˓ %# 2VFSZ#VJMEFS $POUSPMMFS͋ͨΓΛஔ͖׵͑Ε͹ྑͦ͞͏ ˓ 7JFXपΓ͸ςϯϓϨʔτΤϯδϯΛஔ͖׵͑Δ͚ͩͰྑͦ͞͏ ˔खಈमਖ਼ͷݫ͠͞ ˓ ສߦ௒͑ͷίʔυϕʔε ˓ ਓ΍͕࣌ؒ଍Γͳ͍ ˓ ػೳ։ൃΛฒߦͰߦ͍͍͕ͨʜʜ ˙ ҠߦݩͱҠߦޙͷίʔυͷ྆ํΛมߋ͢Δඞཁ͕͋Δ ˙ ҠߦޙͷίʔυʹมߋΛՃ͑ΔͱDPOGMJDU͕ى͜ΓಘΔ ˙ ػೳ։ൃΛࢭΊΔ͔͠ͳ͍͕ɺࢭΊͨ৔߹͸൒೥ۙ͘ػೳ։ൃ͕ਐ·ͳ͍͜ͱ ͕ݟࠐ·Εͨ

Slide 20

Slide 20 text

20 ίʔυͷࣗಈमਖ਼ʹΑΔػೳ։ൃͱҠߦͷฒߦ։ൃ ։ൃϒϥϯν ˓ ػೳ։ൃɺόάमਖ਼ ˓ 1)1ʹ൐͏ίʔυमਖ਼ Ҡߦ༻ϒϥϯν ˓ 3FDUPSͷϧʔϧͷ࡞੒ ˓ -BSBWFMؔ࿈ϑΝΠϧͷ௥Ճ ࠓ·Ͱ௨ΓͷϑϩʔͰ 2"ɾϦϦʔε $*ʹΑΔ ࣗಈमਖ਼ Ҡߦ؀ڥͰͷςετ ΞϓϦέʔγϣϯͷίʔυ͸ Ҡߦ༻ϒϥϯνͰ͸ฤू͠ͳ͍

Slide 21

Slide 21 text

21 ͲΕ͘Β͍ࣗಈमਖ਼ͰҠߦͰ͖͔ͨ ˔1)1ϑΝΠϧ͸ϑΝΠϧ͘Β͍ ˔มߋྔ ˔खಈͰҠߦͨ͠ϑΝΠϧʢʙϑΝΠϧʣ ˓ ೝূपΓ ˓ ϧʔςΟϯά ˓ 'PSNBUUFS "HFOUͳͲ'VFM1)1ʹ͔͠ͳ͍ػೳ

Slide 22

Slide 22 text

22 ίʔυͷࣗಈमਖ਼Λ΍Δ্Ͱʜʜ ˔ςετ ˓ ͋Δͱͱͯ΋ྑ͍ ˓ -*.*"Ͱ͸ςετ͸͋·Γಈ͍͍ͯͳ͔ͬͨ ˔3FDUPSϧʔϧͷςετ ˓ ϧʔϧʹΑΔม׵Λ͋Δఔ౓อূͰ͖Δ ˓ 3FDUPS͸CSFBLJOHDIBOHF͕ଟ͍ͷͰ݁ߏ໾ʹཱͬͨ ˔੩తղੳπʔϧ ˓ 1)14UBOͷಋೖ ˙ Ұ൪໾ʹͨͬͨ ˙ ػೳ։ൃͷํͷόά΋ݕग़ͯ͘͠Εͨ

Slide 23

Slide 23 text

23 ࣗಈमਖ਼Ͱۤ࿑ͨ͜͠ͱ ˔Ͳ͏ͯ͠΋ࣗಈमਖ਼͕೉ͦ͠͏ͳίʔυ ˓ ΊͪΌͪ͘Όෳࡶͳ2VFSZ#VJMEFS ˓ ࢓༷͔ΒΑ͘Θ͔Βͳ͍ίʔυ ݩͷίʔυଆΛ3FDUPSͰม׵Ͱ͖ΔϦϑΝΫλϦϯάͨ͠ ͦ΋ͦ΋͍Βͳ͍ίʔυ͕ଟ͔ͬͨͷͰফ͠·ͬͨ͘ʢ໿ສߦʣ ˔πʔϧଆͷόά ˓ ਖ਼ͦ͠͏ͳͷʹಈ͔ͳ͍ͱࢥͬͨΒόʔδϣϯΛม͑Δͱಈ͍ͨΓ ˓ 3FDUPSͷ$BDIF͕յΕ͍ͯΔ 044ͳΜ͔ͩΒࣗ෼Ͱ௚͢ʂʂ

Slide 24

Slide 24 text

24 ࣗಈमਖ਼ʹΑΔҠߦ·ͱΊ ˔ྑ͔ͬͨ͜ͱ ˓ ෺ྔʹର߅Ͱ͖Δ ˓ ώϡʔϚϯΤϥʔΛݮΒͤΔ ˓ ৽ن௥Ճ͞ΕͨϑΝΠϧ΋ࣗಈͰҠߦ͞ΕΔ ˓ ػೳ։ൃͱDPOqJDU͢Δ͜ͱ͕ͳ͍ ˔ѱ͔ͬͨ͜ͱ ˓ -BSBWFMͷػೳΛϑϧʹ࢖͑ͳ͍ ˓ ந৅ߏจ໦ͷਂ͍஌ࣝͳͲ͕ඞཁͰଐਓԽ͠΍͍͢

Slide 25

Slide 25 text

25 ҠߦϓϩδΣΫτΛऴ͑ͯ ˔ࣗಈमਖ਼Λܾஅͯ͠ྑ͔ͬͨ ˔3FDUPSͱ͍͏πʔϧʹग़ձ͑ͯྑ͔ͬͨ ˓ 1)11)1Ͱ΋׆༂ͦ͠͏ʂ ˓ ϦϑΝΫλϦϯάπʔϧͱͯ͠$*ʹೖΕ͍ͨ ˔ΠϯϑϥͷҠߦ΋ָ͔ͬͨ͠ ˓ 71$5SBGGJD.JSSPSJOHʹΑΔෛՙςετ ˓ &$ͱ'BSHBUFͰͷΧφϦϠϦϦʔεΛߦ͏ͨΊͷ޻෉ ˓ $*$%΋େ෯ʹվળ ˓ ΤϯδχΞϒϩάॻ͖͍ͨͱࢥ͍ͬͯ·͢ʜʜ

Slide 26

Slide 26 text

26