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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -