Types of design patterns

  • Fundamental are the basic building blocks of other templates. Most of the other templates use these templates in one form or another.
  • Creational patterns are design patterns that abstract the instantiation process. They allow you to make the system independent of the way objects are created, composed and presented. The parenting template uses inheritance to modify the generated object, and the parenting template delegates the creation of objects to another object.
  • Structural templates define various complex structures that change the interface of an existing object or its implementation, making it easier to develop and optimize a program.
  • Behavioral patterns define the interaction between objects, thus increasing its flexibility.

Read also:


Comments

Popular posts from this blog

Methods for reading XML in Java

XML, well-formed XML and valid XML

ArrayList and LinkedList in Java, memory usage and speed