#Repository-Pattern
3 notas · última:
Implementing & Testing Repository Pattern using Entity Framework
The article explains why Repository Pattern can still help with Entity Framework by reducing duplicate query logic, separating persistence concerns, and making business logic easier to unit test through mocking.
The Repository Pattern, Ecto, and Database-less Testing
Explains the repository pattern in Ecto, why it helps separate data from persistence, and how to swap in a mock Repo so tests can run without a database.
What is the difference between DAO and Repository patterns?
The page contrasts DAO as a data-persistence abstraction, often closer to the database, with Repository as a collection-like abstraction tied to domain objects and aggregate roots, usually with a narrower interface.
