nongdamgom 2024. 4. 20. 15:36

Domain에 대한 noteworthy concepts를 묘사

=> object와 class를 디자인 하는데 영감을 줌

 

 

What is Domain Model?

  • 설계 단계에서 domain의 틀을 잡아 놓는 느낌
  • 실제 sw object가 아님
  • class diagram을 사용하나, operation은 제외 (attribute와 association만 사용)
  • 너무 세세하게 class를 만들지 말란 소리 => 현실에서 반드시 cs로 해야할것이 아니면 굳이 만들지 x

 

Why create a domain model?

  • domain을 더 잘 이해하고 실제 구현시 domain layer와의 gap을 줄이려고

 

Steps to Create a Domain Model

1) Find conceptual classes

2) Draw the identified conceptual classes in a UML class diagram

3) Add associations and attributes to conceptual classes

 

==> 현재 반복 단계의 범위에서의 domain model을 구상하는 것이다.

 

How to find conceptual classes

1) Reusing existing models

2) Using a category list

3) Identification of noun phrases