---
title: "Discussion on \"헥사고날 아키텍처(Ports & Adapters)\" | Hashnode"
description: "Discussion on \"헥사고날 아키텍처(Ports & Adapters)\". 시작하기에 앞서\n지난 글에서 DDD(Domain-Driven Design)는 업무 규칙을 도메인 모델 가까이에 두는 접근이라고 정리했다. 그런데 Order가 자신의 상태 전이를 잘 지키고 있어도, 그 옆에 ORM 호출과 HTTP 요청이 함께 들어오기 시작하면 다른 문제가 생긴다.\n예를 들어 주문을 생성할 때 다음 코드들이 한 서비스에 모이기 쉽다.\n\n주문"
url: "https://hashnode.com/posts/ports-adapters/6a60831e1cd8639e9f0e006e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [헥사고날 아키텍처(Ports & Adapters)](https://gglee.hashnode.dev/ports-adapters?utm_source=hashnode&utm_medium=feed)

시작하기에 앞서 지난 글에서 DDD(Domain-Driven Design)는 업무 규칙을 도메인 모델 가까이에 두는 접근이라고 정리했다. 그런데 Order가 자신의 상태 전이를 잘 지키고 있어도, 그 옆에 ORM 호출과 HTTP 요청이 함께 들어오기 시작하면 다른 문제가 생긴다. 예를 들어 주문을 생성할 때 다음 코드들이 한 서비스에 모이기 쉽다. 주문

Jul 22 · 6 min read · gglee.hashnode.dev  
Read the article

-   [#hexagonal-architecture](https://hashnode.com/tag/hexagonal-architecture)
-   [#ports-and-adapters](https://hashnode.com/tag/ports-and-adapters)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)

## Written by

[이경규](https://hashnode.com/@gglee)

@gglee

  
[View profile](https://hashnode.com/@gglee)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
