Fundamental Pattern

Fundamental patterns are one of the types of design patterns. They are termed fundamental as they form the basic building blocks of the other patterns. Most of the other patterns and most modern applications draw on these patterns in one way or another.

Examples of this class of patterns include:

  • Delegation pattern: an object outwardly expresses certain behaviour but in reality delegates responsibility
  • Functional design: strives for each modular part of a computer program has only one responsibility and performs that with minimum side effects
  • Interface pattern: method for structuring programs so that they're simpler to understand
  • Proxy pattern: an object functions as an interface to another, typically more complex, object
  • Facade pattern: provides a simplified interface to a larger body of code, such as a class library.
  • Composite pattern: defines Composite object (e.g. a shape) designed as a composition of one-or-more similar objects (other kinds of shapes/geometries), all exhibiting similar functionality. The Composite object then exposes properties and methods for child objects manipulation as if it were a simple object.

Famous quotes containing the words fundamental and/or pattern:

    No drug, not even alcohol, causes the fundamental ills of society. If we’re looking for the sources of our troubles, we shouldn’t test people for drugs, we should test them for stupidity, ignorance, greed and love of power.
    —P.J. (Patrick Jake)

    Why it was that upon this beautiful feminine tissue, sensitive as gossamer, and practically blank as snow as yet, there should have been traced such a coarse pattern as it was doomed to receive; why so often the coarse appropriates the finer thus, the wrong man the woman, the wrong women the man, many years of analytical philosophy have failed to explain to our sense of order.
    Thomas Hardy (1840–1928)