Repository Pattern
conceptDesign Pattern
Overview
Developed byMartin Fowler
Use caseencapsulating data access logic and providing uniform interface to data storage
Knowledge graph stats
Claims12
Avg confidence89%
Avg freshness99%
Last updatedUpdated 5 days ago
Trust distribution
100% unverified
Governance

Repository Pattern

concept

Design pattern that encapsulates logic needed to access data sources and centralizes common data access

Compare with...

primary use case

ValueTrustConfidenceFreshnessSources
encapsulating data access logic and providing uniform interface to data storageUnverifiedHighFresh1

documented by

ValueTrustConfidenceFreshnessSources
Martin FowlerUnverifiedHighFresh1

implemented by

ValueTrustConfidenceFreshnessSources
Entity FrameworkUnverifiedHighFresh1
Spring Data JPAUnverifiedModerateFresh1
Doctrine ORMUnverifiedModerateFresh1

published in

ValueTrustConfidenceFreshnessSources
Patterns of Enterprise Application ArchitectureUnverifiedHighFresh1

first published year

ValueTrustConfidenceFreshnessSources
2002UnverifiedHighFresh1

pattern category

ValueTrustConfidenceFreshnessSources
Data Source Architectural PatternUnverifiedModerateFresh1

commonly used with

ValueTrustConfidenceFreshnessSources
Domain-Driven DesignUnverifiedModerateFresh1

developed by

ValueTrustConfidenceFreshnessSources
Martin FowlerUnverifiedModerateFresh1

implements principle

ValueTrustConfidenceFreshnessSources
Separation of ConcernsUnverifiedModerateFresh1

enables pattern

ValueTrustConfidenceFreshnessSources
Testability through Dependency InjectionUnverifiedModerateFresh1

Related entities

Claim count: 12Last updated: 4/5/2026Edit history