E D R , A S I H C RSS

Responsibility Driven Design

Object ๋ž€ ๋‹จ์ˆœํžˆ logic ๊ณผ data ๋ฌถ์Œ ์ด์ƒ์ด๋‹ค. Object ๋Š” service-provider ์ด๋ฉฐ, information holder ์ด๋ฉฐ, structurer ์ด๋ฉฐ, coordinator ์ด๋ฉฐ, controller ์ด๋ฉฐ, ๋ฐ”๊นฅ ์„ธ์ƒ์„ ์œ„ํ•œ interfacer ์ด๋‹ค. ๊ฐ๊ฐ์˜ Object ๋“ค์€ ์ž์‹ ์ด ๋งก์€ ๋ถ€๋ถ„์— ๋Œ€ํ•ด ์•Œ๋ฉฐ, ์—ญํ• ์„ ํ•ด ๋‚ด์•ผ ํ•œ๋‹ค. ์ด๋Ÿฌํ•œ ResponsibilityDrivenDesign ์€ ๋””์ž์ธ์— ๋Œ€ํ•œ ์œ ์—ฐํ•œ ์ ‘๊ทผ์„ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•œ๋‹ค. ๋‹ค๋ฅธ ๋””์ž์ธ ๋ฐฉ๋ฒ•์˜ ๊ฒฝ์šฐ ๋กœ์ง๊ณผ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ๊ฐ ๋”ฐ๋กœ ์ด›์ ์„ ๋งž์ถ”๊ฒŒ๋” ํ•˜์˜€๋‹ค. ์ด๋Ÿฌํ•œ ์ ‘๊ทผ์€ ์ž์นซ ๋‚˜๋ฌด๋งŒ ๋ณด๊ณ  ์ˆฒ์„ ๋ณด์ง€ ๋ชปํ•˜๋Š” ์‹ค์ˆ˜๋ฅผ ์ €์ง€๋ฅด๊ฒŒ ํ•œ๋‹ค. RDD๋Š” ๋””์ž์ธ๊ณผ ๊ตฌํ˜„, ๊ทธ๋ฆฌ๊ณ  ์ฑ…์ž„๋“ค์— ๋Œ€ํ•œ ์žฌ๋””์ž์ธ์— ๋Œ€ํ•œ ์‹ค์ฒœ์  ์กฐ์–ธ์„ ์ œ๊ณตํ•œ๋‹ค.

RDD๋Š” ๊ฐ์ฒด ๋””์ž์ธ์— ๋Œ€ํ•ด ๋ช…ํ™•ํ•˜๊ฒŒ ์‚ฌ๊ณ ํ• ์ˆ˜ ์žˆ๋„๋ก ๋„์™€์ฃผ๊ณ  ๊ฐ์ฒด ์ง€ํ–ฅ ๊ธฐ์ˆ ์˜ ์žฅ์ ์„ ์ตœ๋Œ€ํ•œ ์ด์šฉํ•˜๋Š”๋ฐ ๋„์›€์„ ์ค€๋‹ค.

  • object ์— ๋Œ€ํ•ด์„œ ๊ธฐ์กด์˜ 'data + algorithms' ์‹ ์‚ฌ๊ณ ๋กœ๋ถ€ํ„ฐ 'roles + responsibilities' ๋กœ์˜ ์‚ฌ๊ณ ์˜ ์ „ํ™˜.

์žฅ์ 

  • RDD merges communication paths between classes, thus reducing the coupling between classes.
  • Partitions and layers subsystems.
  • Generates DesignPatterns. ChainofResponsibilityPattern, MediatorPattern, CommandPattern and TemplateMethodPattern are all generated by the method.

(from http://www.dcs.shef.ac.uk/~tom/Objects/AutoRDD/rdd.html)

๊ด€๋ จ ์ž๋ฃŒ

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:27:54
Processing time 0.0080 sec