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

Facade パターンを図で理解する

Facade パターンを図で理解する

登壇:
TGIW LT at 株式会社じげん

Kota Hashihama

March 31, 2021
Tweet

More Decks by Kota Hashihama

Other Decks in Programming

Transcript

  1. DMBTT-FOEJOH#PPL\ QVCMJDGVODUJPODIFDL  CPPL@OBNF  \ ିग़ாΛνΣοΫ͢Δ ିग़தͰ͋Ε͹USVF ͦ͏Ͱͳ͚Ε͹GBMTF Λฦ͢

    SFUVSOJT@MFOU ^ ^ DMBTT#PPL-JTU\ QVCMJDGVODUJPOTFBSDI#PPL  CPPL@OBNF  \ ຊͷ໊લ͔Β ৔ॴͷ໊લΛฦ͢ ͳ͚Ε͹OVMMΛฦ͢ SFUVSOMPDBUJPO ^ ^ DMBTT7JTJUPS\ QVCMJDGVODUJPONBJO \ ຊͷ໊લ͔Β৔ॴΛ୳͠ आΓΔ͜ͱ͕Ͱ͖Δͷ͔Λ ·ͣௐ΂͍ͨ ͔͠͠ɺ-FOEJOH#PPLͱ #PPL-JTUͷ࢓༷೺Ѳ͕ ࢁా͘Μʹ͸೉͘͠ɺ ࣮૷͸ࠔ೉ΛۃΊͨ ^ ^ ିग़ா ʢ-FOEJOH#PPLΫϥεʣ ॴଂຊϦετ ʢ#PPL-JTUΫϥεʣ ࢁా͘Μ ʢ7JTJUPSΫϥεʣ
  2. DMBTT7JTJUPS\ QVCMJDGVODUJPONBJO \ தଜ͞ΜΛݺͿ OBLBNVSBOFX-JCSBSJBO BOTXFSOBLBNVSBTFBSDI#PPL bࠛ஬ਤؑ`  JG 

    BOTXFSbିग़தΈ͍ͨ` ccBOTXFSbॴଂͯ͠ͳ͍Α`  \ FDIPb࢒೦ɾɾɾ෼͔Γ·ͨ͠` ^FMTF\ FDIPb΍ͬͨʔʂआΓ·͢` ͜͜ʹआΓΔॲཧ͕ೖΔ ^ ^ ^ ࢁా͘Μ ʢ7JTJUPSΫϥεʣ DMBTT-JCSBSJBO\ QVCMJDGVODUJPOTFBSDI#PPL CPPL@OBNF \ ຊͷ৔ॴΛಛఆ͢Δ CPPL@MJTUOFX#PPL-JTU MPDBUJPOCPPL@MJTUTFBSDI#PPL CPPL@OBNF  JG MPDBUJPOOVMM \ SFUVSObॴଂͯ͠ͳ͍Α` ^FMTF\ ିग़ঢ়گΛνΣοΫ͢Δ MFOEJOH@CPPLOFX-FOEJOH#PPL JG MFOEJOH@CPPLDIFDL CPPL@OBNF \ SFUVSObିग़தΈ͍ͨ` ^FMTF\ SFUVSObӈͷຊ୨ʹ͋ΔΑ` ^ ^ ^ ^ ਤॻؗͷ'BDBEF தଜ͞Μ ʢ-JCSBSJBOΫϥεʣ 7JTJUPSΫϥε͕ ࣮૷Ͱ͖ͨʂ