Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 타임라인 포맷팅
- swift 백준
- UIKit
- swift custom ui
- task cancellation
- swift bottomsheet
- scene delegate
- custombottomsheet
- task cancel
- DP
- SWIFT
- identifiable
- custom ui
- button configuration
- 버튼 피드백
- BFS
- Tuist
- domain data
- rxdatasources
- swift 점선
- reactorkit
- claen architecture
- traits
- swift navigationcontroller
- custom navigation bar
- swift concurrency
- swift dashed line
- uikit toast
- coordinator
- RxSwift
Archives
- Today
- Total
목록claen architecture (1)
김경록의 앱 개발 여정
[Clean Architecture] DTO와 도메인 모델의 차이와 분리해서 사용해야하는 이유
소프트웨어 아키텍처를 설계하다 보면 DTO(Data Transfer Object)와 도메인 모델(Domain Model)이라는 용어를 자주 접하게 됩니다. 이 두 가지 개념은 비슷해 보일 수 있지만, 각자의 역할과 책임이 명확하게 구분되어 있습니다.어느 순간 이 둘의 개념 명확히 분리하지 않고 사용하던 제 모습을 발견해서오늘은 DTO와 도메인 모델의 차이점, 그리고 왜 이들을 분리해서 사용해야 하는지에 대해 알아봤습니다. 1. DTO (Data Transfer Object)역할 및 특징데이터 전송 전용: DTO는 주로 네트워크 요청/응답, API 통신, 데이터베이스 결과 등의 외부 시스템과의 데이터 교환에 사용됩니다.단순 데이터 컨테이너: 비즈니스 로직이나 행동이 포함되지 않고, 오직 데이터를 담아 전..
TIL
2025. 3. 13. 21:25