Domain Logic: Where does it go?
I'd argue most software and domain logic is written using Transaction Scripts. Transaction Scripts are single procedures that handle a request. While this can work fairly well in a lot of cases, it starts falling apart when you have a lot of domain complexity and/or a lot of various concerns. A sign you've gone too far is difficulty testing and wanting to call a transaction script from another transaction script. When this happens, what's a solution? Encapsulating your domain logic and state changes within a Domain Model. 🔗 EventStoreDB https://eventsto.re/codeopinion 🔔 Subscribe:    / @codeopinion  💥 Join this channel to get access to source code & demos!    / @codeopinion  🔥 Don't have the JOIN button? Support me on Patreon!   / codeopinion  📝 Blog: https://codeopinion.com 👋 Twitter:   / codeopinion  ✨ LinkedIn:   / dcomartin  📧 Weekly Updates: https://mailchi.mp/63c7a0b3ff38/codeo... 0:00 Intro 1:46 Transaction Script 3:31 Added Complexity 5:32 Heuristics 6:46 Domain Model #softwaredesign #softwarearchitecture #domainmodel

Anti-corruption Layer for mapping between Boundaries

Clean Architecture With ASP.NET Core — Steve Smith

Implementing Domain Driven Design with Spring by Maciej Walkowiak @ Spring I/O 2024

Is an ANEMIC Domain Model really that BAD?

The Modular Monolith: Scale Without Microservices

Vertical Slice Architecture, not Layers!

This Is How Domain-Driven Design Makes Object-Oriented Design More Powerful

Stop Building 'God Objects': Use Shared Identity Instead

APIs for Beginners - How to use an API (Full Course / Tutorial)

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

MIT Just Revealed the AI Bubble's Fatal Flaw

Tame Your Domain Using THIS Powerful Tool!

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Presentation Logic vs Application Logic vs Domain Logic

Clean Architecture with ASP.NET Core 10

I implemented the `md5` algorithm in Bash with 0 external utilities

Kill Anemic Domain Models with Encapsulation: The Hard Part

Shared Database between Services? Maybe!

Refactoring From Transaction Script to Domain-Driven Design

