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:
“The political truths declared in that solemn manner acquire by degrees the character of fundamental maxims of free Government, and as they become incorporated with national sentiment, counteract the impulses of interest and passion.”
—James Madison (17511836)
“Put out the light, and then put out the light.
If I quench thee, thou flaming minister,
I can again thy former light restore
Should I repent me; but once put out thy light,
Thou cunningst pattern of excelling nature,
I know not where is that Promethean heat
That can thy light relume.”
—William Shakespeare (15641616)