Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Glad I'm not the only one, looks pretty much the same as the [1] "repository pattern". Basically a simple data collection interface which abstracts the datasource's type/implementation.

One of the simplest patterns...

[1] https://deviq.com/repository-pattern/



There's more to it than that; repositories are a subpart of hexagonal architecture, and are used in a specific way. That being said, there's not a lot more to it than that. It's a collection of recognisable parts.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: