Structural pattern
Encyclopedia
In software engineering
, structural design patterns are design patterns
that ease the design by identifying a simple way to realize relationships between entities.
Examples of Structural Patterns include:
Software engineering
Software Engineering is the application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software, and the study of these approaches; that is, the application of engineering to software...
, structural design patterns are design patterns
Design pattern (computer science)
In software engineering, a design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. A design pattern is not a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that...
that ease the design by identifying a simple way to realize relationships between entities.
Examples of Structural Patterns include:
- Adapter patternAdapter patternIn computer programming, the adapter pattern is a design pattern that translates one interface for a class into a compatible interface...
: 'adapts' one interface for a class into one that a client expects- Retrofit Interface Pattern: An adapter used as a new interface for multiple classes at the same time.
- Adapter pipeline: Use multiple adapters for debugging purposes.
- Aggregate patternAggregate patternAn Aggregate pattern can refer to concepts in either statistics or computer programming. Both uses deal with considering a large case as composed of smaller, simpler, pieces.- Statistics :...
: a version of the Composite patternComposite patternIn software engineering, the composite pattern is a partitioning design pattern. The composite pattern describes that a group of objects are to be treated in the same way as a single instance of an object. The intent of a composite is to "compose" objects into tree structures to represent...
with methods for aggregation of children - Bridge patternBridge patternThe bridge pattern is a design pattern used in software engineering which is meant to "decouple an abstraction from its implementation so that the two can vary independently"...
: decouple an abstraction from its implementation so that the two can vary independently- Tombstone: An intermediate "lookup" object contains the real location of an object.
- Composite patternComposite patternIn software engineering, the composite pattern is a partitioning design pattern. The composite pattern describes that a group of objects are to be treated in the same way as a single instance of an object. The intent of a composite is to "compose" objects into tree structures to represent...
: a tree structure of objects where every object has the same interface - Decorator patternDecorator patternIn object-oriented programming, the decorator pattern is a design pattern that allows behaviour to be added to an existing object dynamically.-Introduction:...
: add additional functionality to a class at runtime where subclassing would result in an exponential rise of new classes - Extensibility patternExtensibility patternIn computer programming, the extensibility pattern is a design pattern that provides a framework for straightforward addition of functionality to a system at a later date....
: aka. Framework - hide complex code behind a simple interface - Facade patternFaçade patternThe facade pattern is a software engineering design pattern commonly used with Object-oriented programming. The name is by analogy to an architectural facade....
: create a simplified interface of an existing interface to ease usage for common tasks - Flyweight patternFlyweight patternFlyweight is a software design pattern. A flyweight is an object that minimizes memory use by sharing as much data as possible with other similar objects; it is a way to use objects in large numbers when a simple repeated representation would use an unacceptable amount of memory. The term is named...
: a high quantity of objects share a common properties object to save space - Proxy patternProxy patternIn computer programming, the proxy pattern is a software design pattern.A proxy, in its most general form, is a class functioning as an interface to something else...
: a class functioning as an interface to another thing - Pipes and filters: a chain of processes where the output of each process is the input of the next
- Private class data patternPrivate class data patternPrivate class data is a design pattern in computer programming used to encapsulate class attributes and their manipulation.-Standard documentation:...
: restrict accessor/mutator access