Structural pattern
Structural patterns ( English structural design patterns ) form in the software development design patterns , by establishing relationships between entities facilitate the design of the software.
Examples of structural patterns are
-
Adapter : adapts an interface for one class to another that the client expects:
- Adapter pipeline: uses multiple adapters to test the code.
- Retrofit interface pattern : Consists of an adapter that is used simultaneously as a new interface for several classes.
- Aggregate : Is a version of the compound word that also provides methods for grouping derived classes , i.e. descendants
- The bridge : Decouples an abstraction and its implementation so that both can develop independently of each other
- Gravestone: A "lookup object" that knows the correct location of the object.
- Decorator : Allows additional functionality to be added to the class at runtime, with deriving exponentially increasing the number of classes.
- Extensibility : a type of framework that hides complex code behind a simplified interface
- Facade : Creates a simplified interface of another interface in order to simplify the use of the latter.
- Lightweight : In this pattern, a large number of objects share an object of general properties in order to save back-up storage
- Compound : A tree structure of objects in which each object uses the same interface.
- Pipes and Filters : Is a process chain in which the output of each process is the input of the next process.
- Private class data (Engl. Private class data pattern ): Restricts access the accessor / mutator one.
- Substitute : Here a class acts as an interface for something else.
See also
Web links
Commons : Structural Patterns - collection of images, videos and audio files
credentials
- ↑ Adapter Pipeline ( English ) Cunningham & Cunningham, Inc .. December 31, 2010. Retrieved July 20, 2012.
- ↑ Bobby Woolf: Retrofit Interface Pattern ( English ) Cunningham & Cunningham, Inc .. June 19, 2002. Retrieved July 20, 2012.
- ↑ Martin Zarate: External Polymorphism ( English ) Cunningham & Cunningham, Inc .. December 31, 2010. Retrieved July 20, 2012.
- ^ Tomb Stone ( English ) Cunningham & Cunningham, Inc .. June 17, 2007. Retrieved July 20, 2012.