Problem So, I have a project that has a lot of methods that look alike. In the below method as […]
Tag: repository
Choose the right type for method GetById
Problem I designed my repository class and I need some advice from you. Now I have a method GetByID that […]
Different data sources for UnitOfWork and Repository patterns
Problem I was involved in some code-review discussions about UnitOfWork and Repository pattern implementation with EF, which put me in […]
Different data sources for UnitOfWork and Repository patterns
Problem I was involved in some code-review discussions about UnitOfWork and Repository pattern implementation with EF, which put me in […]
Refactoring code to implement clean code using repositories
Problem I’ve been refactoring code today, try to implement a clean code setup using repositories. Is this on track? Can […]
eCommerce project using the Repository pattern
Problem I am currently working on an eCommerce project in Laravel 5.1. I have implemented Repository Pattern by learning from […]
Repository Pattern without an ORM
Problem I’m trying to learn the Repository pattern, and I have some questions regarding my current understanding of it. All […]
Simple todo list VanillaJS – repository pattern
Problem I’m new in JavaScript, so I was looking for some reviews and advice for better code quality. import Todo […]
Event sourcing with Python
Problem I’ve been studying the event sourcing pattern and trying to come up with a set of classes or minimal […]
Derive currency conversion rates from database, keep it available in a class
Problem I would like to know whether I applied the SOLID principle and the repository pattern the right way. My […]