← Graph

Domain Model (vs Active Record Model)

concept 3 connections

Ivan Nemytchenko's definition: the 'main model' is a system that imitates the structure and functioning of the explored domain, adequate to the problem. It must not depend on the programming language (PHP/Java/Ruby), application type (web/desktop/mobile), or framework. Persistence (e.g. Active Record) is a technical detail that is hard to ignore in Rails but should be treated as separable — not every model has to be an Active Record model.

category
architecture
about
Domain Model (vs Active Record Model) concept
Contrasts framework/language-agnostic domain models with Active Record models.
about
Domain Model (vs Active Record Model) concept
Argues models should be treated as domain models with business rules, not persistence containers.
concept Scope Concerns
related_to
Domain Model (vs Active Record Model) concept
Scope concerns keep scopes out of the domain model where they don't belong.

Provenance

Read by
10 extractions