javascript-boilerplate
javascript-boilerplate copied to clipboard
Consider introducing repositories with models
As discussed with @alexisjanvier, we currently have storage related code in our models. We should consider introducing repositories.
:+1: The crappy mix between 1859's queries and TP's models is my fault. This separation would help us to separate the DB layer to model layer, as recommended in Domain-Driven Design.
and help allowing to use another DB too