Open dhslrl321 opened 1 year ago
안녕하세요 윤지님
모듈 구조는 layered architecture 를 따라가는것 같은데 내부로 들어가보니 경계가 조금 섞여있더라구요!
application 모듈에 존재하는 application/application/**Controller 는 presentation layer 의 것들이 아닐까 싶고 application/infra 는 infrastructure layer 인것 처럼 보입니다.
application
application/application/**Controller
application/infra
infrastructure layer
이들을 다른 모듈로 분리하고자 한다면각각의 이름을 가진 모듈로 분리하는것이 좋아보이고 그렇지 않고 하나의 모듈에 포함시긴다면 적절한 패키지 네이밍이 필요하다고 생각합니다!
application layer 안에 presentation 과 infrastructure 가 함께 존재합니다
application layer 는 facade 형태라면 어떨까요? application facade, martin fowler
안녕하세요 윤지님
모듈 구조는 layered architecture 를 따라가는것 같은데 내부로 들어가보니 경계가 조금 섞여있더라구요!
application
모듈에 존재하는application/application/**Controller
는 presentation layer 의 것들이 아닐까 싶고application/infra
는infrastructure layer
인것 처럼 보입니다.이들을 다른 모듈로 분리하고자 한다면각각의 이름을 가진 모듈로 분리하는것이 좋아보이고 그렇지 않고 하나의 모듈에 포함시긴다면 적절한 패키지 네이밍이 필요하다고 생각합니다!