Repository Pattern
The Repository pattern is an architectural pattern that mediates between the domain/business logic and data mapping layers, exposing a collection-like interface for accessing domain objects while hiding the underlying data source and persistence details.
9 resources across 2 libraries
Glossary Terms(4)
Repository Pattern
The Repository pattern is an architectural pattern that mediates between the domain/business logic and data mapping layers, exposing a collection-like interfac…
Hexagonal Architecture
Hexagonal architecture, also known as Ports and Adapters, is a software architecture pattern that isolates an application's core business logic from external c…
Clean Architecture
Clean Architecture is a software architecture pattern, described by Robert C. Martin, that organizes code into concentric layers with dependencies pointing str…
Onion Architecture
Onion Architecture is a software architecture pattern, introduced by Jeffrey Palermo, that arranges application layers in concentric rings around a central dom…
Interview Questions(5)
What is the Repository Pattern?
The Repository pattern is a design pattern that mediates between the domain/business logic and the data mapping layer, exposing a collection-like interface (ad…
What is the Unit of Work Pattern?
The Unit of Work pattern tracks a set of business object changes made during a single logical operation and coordinates writing them out as one atomic transact…
Active Record vs Repository Pattern
Active Record bundles data and persistence logic (save, find, delete) directly onto the domain object itself, while the Repository pattern separates persistenc…
What is the DAO Pattern?
The DAO (Data Access Object) pattern is a structural pattern that isolates all persistence-related code — SQL statements, connection handling, and result-set m…
DAO vs Repository Pattern
The DAO pattern is a low-level abstraction that wraps raw persistence operations for a single table or entity (CRUD, queries), while the Repository pattern is…