Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

트랜잭션 스크립트 방식 vs 객체지향 프로그래밍 방식 #28

Open
tlarbals824 opened this issue Jul 29, 2023 · 1 comment

Comments

@tlarbals824
Copy link
Member

  • 4주차 까지 오면서 가장 많이 나오는 이야기가 클래스가 많아진다는 단점인 것 같습니다.
  • 저는 그 이유가 추상화를 하면 할 수록 파일이 많아지기 떄문이라고 생각합니다.
  • 이런 추상화를 진행하면 할 수록 저는 개발자가 데이터 흐름을 한 눈에 보기 어렵다고 생각하는데요.
  • 트랜잭션 스크립트 방식과 객체지향 프로그래밍 방식에 대하여 다들 어떤 생각을 가지고 계신지 궁금합니다.
@semi-cloud
Copy link
Contributor

비즈니스 로직을 서비스 / 도메인 어디에 두면 좋을지에 대한 관련 자료입니다!
결국 이런 아키텍처나 설계에는 답이 없고 상황에 맞춰서 적절히 잘 사용하는 것이 좋은것 같네요.

https://www.inflearn.com/questions/117315/비지니스-로직구현-entity-vs-service
https://www.inflearn.com/questions/198105/transaction-script-domain-model-패턴에-대한-질문입니다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants