Repository Design Pattern
Krzychu Kosobudzki
24930
Krzychu Kosobudzki : Thanks a lot for this awesome article. I used to create a separate singleton class, that managed all actions to data communication. But I haven’t used the same functionality by defining on separate interface. In this example the Repository class implementation works with News Entity. For any other entity say Article, Author and so on, we need to define separate class implementing Repository. Or can we make a single class able to handle all the Repository query i.e. a single implementation of Repository? Is it possible?