Structural pattern
Encyclopedia
In software engineering
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 pattern
    Adapter pattern
    In 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 pattern
    Aggregate pattern
    An 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 pattern
    Composite pattern
    In 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 pattern
    Bridge pattern
    The 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 pattern
    Composite pattern
    In 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 pattern
    Decorator pattern
    In 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 pattern
    Extensibility pattern
    In 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 pattern
    Façade pattern
    The 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 pattern
    Flyweight pattern
    Flyweight 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 pattern
    Proxy pattern
    In 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 pattern
    Private class data pattern
    Private class data is a design pattern in computer programming used to encapsulate class attributes and their manipulation.-Standard documentation:...

    : restrict accessor/mutator access
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK