Browsed by
Category: Architecture

Repositories – why and how not to use them?

Repositories – why and how not to use them?

Story time It’s really a sin not to use a repository, but I can be forgiven if I don’t use it in an example.Consider your software dealing with customers, which, internally, have different features based on when the customer signed up and his status. If customer is registered less than 5 days ago, you should display a big red button saying ‘buy this feature’, and in the back office, you should prioritize tickets these customers create. Let’s call these customers…

Read More Read More