Domain logic

architecturebusiness-logicterminology

What is domain logic? The Wikipedia page for domain logic redirects to business logic. Are they the same thing, and, if not, how do they differ?

Best Solution

The domain is what you are modelling.

If you are modelling a business problem, they are the same thing.

If you are modelling something else, physics for instance, there is probably no business logic in your system, but the physics parts are still domain logic.