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

Composerを「なんとなく使う」から「理解して使う」になる

asumikam
March 24, 2023
7k

 Composerを「なんとなく使う」から「理解して使う」になる

asumikam

March 24, 2023
Tweet

Transcript

  1. ͜Μʹͪ͸ʂ w ͋͢Έ 🐦!BTVNJLBN  w খాݪͷ/&גࣜձࣾʹۈΊਃ͢೥໨ w εϙϯαʔͯ͠·͢ʂύϯϑϨοτݟͯͶʂ 


    Թઘͷૉ͔ͭͬͯͶʂγʔτϚεΫͰอ࣪ͯ͠Ͷʂʂ w 8FCΞϓϦ։ൃ🙋 w 1)1(P3VCZ"845FSSBGPSN3FBDUʜ ݩ)BNFF♨ ෼ࣾԽʂ
  2. DPNQPTFSJOTUBMM w ͜ͷ࣌ɺطʹϓϩδΣΫτͷ 
 ґଘؔ܎Λղܾͯ͘͠Ε͍ͯΔ w ϓϩδΣΫτͷ 
 ύοέʔδಉ࢜ͷґଘ w

    ύοέʔδͷ 
 όʔδϣϯʹؔ͢Δґଘ DPNQPTFSKTPO $PNQPTFSͰґଘؔ܎Λ؅ཧ͢Δ
  3. DPNQPTFSKTPO w ඞཁͳύοέʔδͱɺͦͷύο έʔδ͕ґଘ͍ͯ͠Δύοέʔ δ͕ʮWFOEPS ʯʹೖΔ w ࣮ࡍͷίʔυ͕ೖ͍ͬͯΔ w ๲େͳύοέʔδͷίʔυΛ

    
 ϓϩδΣΫτͰ؅ཧ͠ͳͯ͘ྑ͍ w ʮHJUJHOPSFʯͰ͖Δ ύοέʔδಉ࢜ͷґଘղܾ $PNQPTFSͰґଘؔ܎Λ؅ཧ͢Δ
  4. w ʮBTVNJMJCʯͱ͍͏ύοέʔδ͕͋ͬͨͱ͢Δ w DPNQPTFSKTPOͰ͸ʮBTVNJMJC ʯͱ͍͏هड़ w ʙͷ෯ͰΠϯετʔϧ͢Δ͜ͱ͕Ͱ͖ΔΑʙ w DPNQPTFSKTPO͚ͩͰ͸ղܾͰ͖ͳ͍ྫ w

    "͞ΜʮDPNQPTFSJOTUBMMʯ͕ೖΔ w BTVNJMJCʮΞοϓσʔτͨ͠Αʯʹͳͬͨʂ w #͞ΜʮDPNQPTFSJOTUBMMʯ͕ೖΔ όʔδϣϯͷґଘղܾ $PNQPTFSͰґଘؔ܎Λ؅ཧ͢Δ
  5. w ʮDPNQPTFSMPDLʯ͕ͳ͍৔߹ w DPNQPTFSKTPO͔ΒඞཁͳύοέʔδΛ൑அ w ͦͷ࣌ʹೖΔ࠷৽ͷόʔδϣϯͰύοέʔδΛೖΕΔ 
 w ʮDPNQPTFSMPDLʯ͕͋Δ৔߹ w

    DPNQPTFSKTPO͔ΒඞཁͳύοέʔδΛ൑அ w DPNQPTFSMPDLͰ࠾༻͞Ε͍ͯΔόʔδϣϯͰ 
 ύοέʔδΛೖΕΔ DPNQPTFSMPDL όʔδϣϯͷґଘղܾ $PNQPTFSͰґଘؔ܎Λ؅ཧ͢Δ
  6. ʢิ଍ʣ৽͍͠ύοέʔδ͕ೖͬͨ৔߹ w ։ൃ؀ڥ w ࠩ෼Λऔಘ͔ͯ͠ΒʮDPNQPTFSJOTUBMMʯ w ʮSFRVJSFʯʮSFRVJSFEFWʯ͕ର৅ w ຊ൪؀ڥ w

    ࠩ෼Λऔಘ͔ͯ͠ΒʮDPNQPTFSJOTUBMMOPEFWʯ w ʮSFRVJSFʯ͕ର৅ $PNQPTFSͰґଘؔ܎Λ؅ཧ͢Δ
  7. ͷ·ͱΊ w DPNQPTFSKTPO෯Λར͔ͤͯύοέʔδΛࢦఆ w DPNQPTFSMPDL۩ମతͳґଘؔ܎ʢϑΝΠϧɾόʔδϣϯʣ͕ॻ͔ΕͨϑΝΠϧ w ͍ͭߋ৽͞ΕΔͷ͔Λཧղ͢ΔͱʮͪΌΜͱཧղ͢Δʯʹܨ͕Γͦ͏🙆✨ ίϚϯυ ΍Δ͜ͱ DPNQPTFSKTPO

    DPNQPTFSMPDL JOTUBMM طʹ؅ཧ͍ͯ͠ΔύοέʔδΛ࣋ͬͯ͘Δ ࢀর͞ΕΔ ࢀর͞ΕΔ SFRVJSF ৽͘͠ύοέʔδΛ࣋ͬͯ͘Δ ߋ৽͞ΕΔ ߋ৽͞ΕΔ VQEBUF ύοέʔδΛߋ৽͢Δ ࢀর͞ΕΔ ߋ৽͞ΕΔ SFNPWF ύοέʔδΛআڈ͢Δ ߋ৽͞ΕΔ ߋ৽͞ΕΔ
  8. %PDLFSͬͯɺɺ😀 $PNQPTFSPO%PDLFS %PDLFS fi MF CVJME Πϝʔδ SVO ίϯςφ ΞϓϦέʔγϣϯ͕ಈ͘؀ڥΛ·Δͬͱίϯςφͱͯ͠ఏڙ

    ؀ڥΛ࡞ΔͨΊͷϨγϐ ϨγϐΛݩʹ࡞ͬͨ ςϯϓϨʔτϑΝΠϧ ςϯϓϨʔτϑΝΠϧΛݩʹ࡞ͬͨ ࣮ࡍʹಈ͘؀ڥ
  9. w ຊ൪؀ڥͷίϯςφʹඞཁ w ʮWFOEPS ʯͷύοέʔδ܈ w ΞϓϦέʔγϣϯίʔυ w ຊ൪؀ڥͷίϯςφʹෆཁ w

    $PNQPTFSίϚϯυ ΞϓϦʹຊ౰ʹඞཁͳ΋ͷΛߟ͑Δ ˢBTVNJJNBHF͔Β࡞ͬͨίϯςφͰ͸ ɹ$PNQPTFSίϚϯυ͕ଧͯΔ $PNQPTFSPO%PDLFS
  10. w ຊ൪؀ڥͷίϯςφʹඞཁ w ʮWFOEPS ʯͷύοέʔδ܈ w ΞϓϦέʔγϣϯίʔυ w ຊ൪؀ڥͷίϯςφʹෆཁ w

    $PNQPTFSίϚϯυ ΞϓϦʹຊ౰ʹඞཁͳ΋ͷΛߟ͑Δ %PDLFSͷ ϚϧνεςʔδϏϧυ Λ࢖͏🙆✨ $PNQPTFSPO%PDLFS
  11. ϚϧνεςʔδϏϧυͱ͸ %PDLFS fi MFΛ΄Μͷগ͚ͩ͠ਤղͨ͠ͳʹ͔ $PNQPTFSPO%PDLFS w ʮͻͱ޻෉ʯͯ͠؀ڥΛͭ͘Δ w ෳ਺ͷ'30.Λهड़ w

    ࠷ޙͷ'30.͕࠷ऴతʹద༻͞ΕΔΠϝʔδ w ࠷ޙҎ֎ͷ'30.Ͱʮ͓હཱͯʯΛ͢Δ w ࠷ޙͷ'30.Ͱʮ͓હཱͯʯͨ͠΋ͷΛ ࣋ͬͯ͘Δ
  12. ϚϧνεςʔδϏϧυͱ͸ w ʮͻͱ޻෉ʯͯ͠؀ڥΛͭ͘Δ w ෳ਺ͷ'30.Λهड़ w ࠷ޙͷ'30.͕࠷ऴతʹద༻͞ΕΔΠϝʔδ w ࠷ޙҎ֎ͷ'30.Ͱʮ͓હཱͯʯΛ͢Δ w

    ࠷ޙͷ'30.Ͱʮ͓હཱͯʯͨ͠΋ͷΛ ࣋ͬͯ͘Δ %PDLFS fi MFΛ΄Μͷগ͚ͩ͠ਤղͨ͠ͳʹ͔ $PNQPTFSPO%PDLFS
  13. ΋ͱ΋ͱͷ%PDLFS fi MF ίϚϯυೖΕͯ ʮWFOEPS ʯΛੜ੒ ϚϧνεςʔδϏϧυͳ%PDLFS fi MF $PNQPTFS͕ಈ࡞͢Δ؀ڥͰ

    ΞϓϦέʔγϣϯ͕ಈ͘؀ڥͰ ʮWFOEPS ʯΛੜ੒ ΞϓϦέʔγϣϯ͕ಈ͘؀ڥͰ $PNQPTFSPO%PDLFS
  14. ΋ͱ΋ͱͷ%PDLFS fi MF ίϚϯυೖΕͯ ʮWFOEPS ʯΛੜ੒ ϚϧνεςʔδϏϧυͳ%PDLFS fi MF $PNQPTFS͕ಈ࡞͢Δ؀ڥͰ

    ΞϓϦέʔγϣϯ͕ಈ͘؀ڥͰ ʮWFOEPS ʯΛੜ੒ ΞϓϦέʔγϣϯ͕ಈ͘؀ڥͰ ʮWFOEPS ʯΛ΋ͬͯ͘Δʂ $PNQPTFSPO%PDLFS
  15. ϚϧνεςʔδϏϧυͳ%PDLFS fi MF $PNQPTFS͕ಈ࡞͢Δ؀ڥͰ ʮWFOEPS ʯΛੜ੒ ΞϓϦέʔγϣϯ͕ಈ͘؀ڥͰ ʮWFOEPS ʯΛ΋ͬͯ͘Δʂ CVJME

    SVO Πϝʔδ 
 BTVNJJNBHF ίϯςφ $PNQPTFSPO%PDLFS $PNQPTFSίϚϯυ ͳ͘ͳͬͯΔ😁
  16. ϚϧνεςʔδϏϧυ w ʮඞཁͳ؀ڥʯελʔτ w ৑௕ͳهड़͕ͳ͘ͳͬͨ w ඞཁͳ΋ͷ͚ͩ࣋ͬͯ͘Δ w ҆શ w

    ܰ͘ͳΔ /05ϚϧνεςʔδϏϧυ $PNQPTFSPO%PDLFS w ͭͷ؀ڥͰΰχϣΰχϣؤுΔ😖 w ෳࡶʹͳΓ͕ͪ w ෆཁͳ΋ͷ͕ࠞͬͪ͟Ό͏ w ҆શ͡Όͳ͍͔΋
  17. ϚϧνεςʔδϏϧυ /05ϚϧνεςʔδϏϧυ $PNQPTFSPO%PDLFS ࠓճ΋ ίϚϯυ෼ ŧŔŕŪܰŘŮ🌾 w ʮඞཁͳ؀ڥʯελʔτ w ৑௕ͳهड़͕ͳ͘ͳͬͨ

    w ඞཁͳ΋ͷ͚ͩ࣋ͬͯ͘Δ w ҆શ w ܰ͘ͳΔ w ͭͷ؀ڥͰΰχϣΰχϣؤுΔ😖 w ෳࡶʹͳΓ͕ͪ w ෆཁͳ΋ͷ͕ࠞͬͪ͟Ό͏ w ҆શ͡Όͳ͍͔΋
  18. ʮຊ൪؀ڥʯʹ߹Θͤͯ࡞ͬͨ%PDLFS fi MF w %PDLFS fi MF͸ʮDPNQPTFSJOTUBMMOPEFWʯͱͯ͠ 
 ʮSFRVJSFʯͷύοέʔδ܈ͷΈΛΠϯετʔϧͨ͠ 


    w ϚϧνεςʔδϏϧυͰʮWFOEPS ʯ͚ͩΛ͖࣋ͬͯͨ 
 $PNQPTFSίϚϯυ͸ೖ͍ͬͯͳ͍ $PNQPTFSPO%PDLFS
  19. w %PDLFS fi MF͸ʮDPNQPTFSJOTUBMMOPEFWʯͱͯ͠ 
 ʮSFRVJSFʯͷύοέʔδ܈ͷΈΛΠϯετʔϧͨ͠ 
 w ϚϧνεςʔδϏϧυͰʮWFOEPS ʯ͚ͩΛ͖࣋ͬͯͨ

    
 $PNQPTFSίϚϯυ͸ೖ͍ͬͯͳ͍ ʮ։ൃ؀ڥʯͷ͜ͱΛߟ͑Δͱɺɺ ʮSFRVJSFEFWʯཉ͍͠🥺 $PNQPTFSίϚϯυཉ͍͠🥹 $PNQPTFSPO%PDLFS
  20. ʮ։ൃ؀ڥʯͰͷͻͱ޻෉ $PNQPTFSPO%PDLFS Πϝʔδ SVO ίϯςφ w ίϯςφͷىಈ࣌ʹʮΞϨϯδʯͯ͠ 
 ىಈ͢Δ͜ͱ͕Ͱ͖Δ w

    $PNQPTFSίϚϯυΛ࢖͍͍ͨͷͰ 
 ʮϘϦϡʔϜʯͰղܾ͢Δ w ʮSFRVJSFEFWʯ΄͍͠ͷͰ 
 ʮίϚϯυʯΛྲྀ͠ࠐΜͰղܾ͢Δ