What are Design Patterns ?

What are Design Patterns ?

Hello everyone, in this article we will talk about Design Patterns for the softwre project development. I will talk a little explanations make some examples and I will talk about subcategories of Design Patterns.

Let's get started.

Firstly I want to talk about what is design patterns. I will make a short explanation.

Design Patterns are solution of the general problems which may occure at project. These problems occured at the past and if you will face with these problems you can use design patterns or you can develope your own patterns to handle the problem. Design patterns are flexible solutions and the developer can use methods with all programmin languages with Object Oriented programming. With Design Patterns you are using the experiences of most developers.

There are 3 main Design Patterns category:
  • Creational Design patterns
  • Structural Design Patterns
  • Behavioral Design Patterns

Now take a look at them.

Creational Design patterns

Creational design patterns take care about creating the objects. It offers the solutions to create objects and components in OOP programming.

There are 5 types of Creational Design Patterns:
  • Factory Method
  • Abstract Factory
  • Builder
  • Prototyoe
  • Singleton

Structural Design patterns

Structural Design patterns take care of the relations between the objects and structures of the objects. Itnanswers the questions which like Which variables must be defined, which one has to be reaceable from outside, which one will be used for communication...

This design pattern method has 7 types:
  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Flyweight
  • Facade
  • Proxy

Behavioral Design patterns

Behavioral design patterns take care of how the objects and component will communicate with each other and how do they act like. With behavioral design patterns we can createnbest relations between components in the program.

There are 10 types of Behavioral Design patterns:
  • Chain of responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Observer
  • State
  • Strategy
  • Template
  • Visitor

That is all in this article

Have good developing

Burak Hamdi TUFAN


Tags


Share this Post

Send with Whatsapp

Post a Comment

Success! Your comment sent to post. It will be showed after confirmation.
Error! There was an error sending your comment. Check your inputs!

Comments

  • There is no comment. Be the owner of first comment...