oop - What category is repository pattern in? -


In general, I know there are 3 big categories of design method

  1. Creative
  2. Structural patterns (composite, adapter, proxy, etc.) P> But I do not know In which category I can put the repository pattern

    Is there one of the top three categories in the repository pattern? Or is it between (2) and (3) pattern?

    The stock can be seen as a specific type of awning (structural) But can also be seen as a special type of factory (crawl). Also, as the repository often exposes a collection-like interface, it can then be a special application of the iterator.

    What I am trying to say is that neither those categories nor the patterns themselves are of any type, certain principles are only a few ideas and a language that makes them appear more clearly Tries. These categories are just helpful, trying to express some type of pattern. Patterns also have different expressions of a common loose coupling principles. Their boundaries are blurry

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -