December 2021
Intermediate to advanced
510 pages
11h 20m
English
Let’s implement a data store for Pomodoro intervals using the Repository pattern. With this approach, you decouple the data store implementation from the business logic, granting you flexibility for how you’ll store data. You can modify the implementation later or switch to a different database entirely, without impacting the business logic.
For instance, you’ll implement two different data stores with this application: an in-memory data store and another data store backed up by a SQLite database. Later you can implement another data store backed up by a different database such as PostgreSQL if you want.
The Repository pattern requires two components. One is an interface that specifies all the methods ...
Read now
Unlock full access