[Pattern] - Proxy Pattern

November 3, 2022

์ค‘๊ฐ„์—์„œ ํ๋ฆ„์„ ์ œ์–ดํ•˜๋Š” ์—ญํ• 

Untitled

๋ณตํ•ฉ์ ์ธ ์˜ค๋ธŒ์ ํŠธ๋“ค์˜ ๋‹ค์ˆ˜์˜ ๋ณต์‚ฌ๋ณธ์ด ์กด์žฌํ•ด์•ผํ•˜๋Š” ์ƒํ™ฉ์—์„œ ํ”„๋ก์‹œํŒจํ„ด์€ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ๋ฉ”๋ชจ๋ฆฌ ์‚ฌ์šฉ๋Ÿ‰์„ ์ค„์ด๊ธฐ ์œ„ํ•ด์„œ ์‚ฌ์šฉ๋จ.

ํด๋ผ์ด์–ธํŠธ๊ฐ€ proxy์—๊ฒŒ ์š”์ฒญ์„ ๋ณด๋‚ด๋ฉด, ์š”์ฒญ์„ ๋ฐ›์€ proxy๊ฐ€ ์‹ค์ œ ์„œ๋น„์Šค๋ฅผ ํ•˜๋Š” ๋ฉ”์†Œ๋“œ๋ฅผ ์ฐพ์•„ ํ˜ธ์ถœ

  • ๋Œ€๋ฆฌ์ธ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์ผ๋ฟ, ์‹ค์ œ ์‹คํ–‰์€ ํ•˜์ง€์•ˆํฅใ…

์žฅ์ 

  • ์‚ฌ์ด์ฆˆ๊ฐ€ ํฐ ๊ฐ์ฒด๊ฐ€ ๋กœ๋”ฉ๋˜๊ธฐ ์ „์—๋„ ํ”„๋ก์‹œ๋ฅผ ํ†ตํ•ด ์ฐธ์กฐ๊ฐ€๋Šฅ
  • ์‹ค์ œ ๊ฐ์ฒด์˜ ๋ฉ”์†Œ๋“œ๋ฅผ ์ˆจ๊ธธ์ˆ˜ ์žˆ์Œ
  • ์ „์ฒ˜๋ฆฌ ๋ฐ ํ›„์ฒ˜๋ฆฌ ์‚ฌ์šฉ์— ์šฉ์ด

๋‹จ์ 

  • ๊ฐ€๋…์„ฑ ์ €ํ•˜
  • ๋งŽ์ด์‚ฌ์šฉํ•˜๋ฉด ์„ฑ๋Šฅ ์ €ํ•˜

์ฐธ๊ณ 

ํ”„๋ก์‹œ ํŒจํ„ด - ์œ„ํ‚ค๋ฐฑ๊ณผ, ์šฐ๋ฆฌ ๋ชจ๋‘์˜ ๋ฐฑ๊ณผ์‚ฌ์ „

KakaoTalk_Photo_2022-08-18-10-10-34.jpeg

results matching ""

    No results matching ""