Persistence
3 pages
-
Object-Relational Mapping Patterns
database
O/R mapping architectural patterns (Table Data Gateway, Row Data Gateway, Active Record, Data Mapper); behavioural patterns (Unit of Work, Identity Map, Lazy Load); structural mapping; inheritance strategies (Single/Class/Concrete Table Inheritance)
-
Patterns of Enterprise Application Architecture
source
*Patterns of Enterprise Application Architecture* — Martin Fowler et al.
-
Repository Pattern
pattern
Evans' REPOSITORY pattern: in-memory collection illusion over aggregate roots; hides persistence technology; only for roots needing direct access; transaction control left to client; factory/repository complementarity