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.0107 sec