What is Design Patterns?

Vilge234

Yeni üye
1 Eki 2020
28
0
Hello all TurkHackTeam members,

I'm Uchiha-Sasuke

In my this thread, I'll tell you about what is Design Patterns





Design Patterns



Design Patterns, is the name given to responsive patterns that are made for handling similiar problems.

In object oriented programming apps, regardless of the programming language; it's the name given to methods that instruct how the relation between class and objects should be.

Design Patterns are specifically partitioned into 3 main categories.


1) Structural Design Patterns

Structural Design Patterns are completely related to object and class organization.



Structural Design Patterns, use inheritance to make the interface.


Structural object patterns, define object creation methods to make innovation.,


Adapter: Name given to seperate classes' matching interfaces.

Bridge: It's in charge of seperating object's interface from it's application.

Composite: Name given tree structure of simple objects.

Decorator: Name given to adding dynamic responsibilities to objects.



Facade: Name given to a single class that represents each sub system.

Flyweight: An example used for effective sharing(transference)

Private Class Data: It's in charge of limiting access.

Proxy: Name given to object representing another object.


2) Behavioral Design Patterns

It's in charge of giving examples to providing common communication between problem oriented objects.



Chain of responsibilit : It's a way of transferring request between an object chain
.
Command: It's in charge of separeting a command request as an object.


Interpreter: It's a way of including programming language components to a program..

Iterator: It's in charge of accessing a collection's components in order.

Mediator: It's in charge of defining simplified communication between classes.

Memento: Bir nesnenin dahili durumunu yakalama ve geri yüklemekle görevlidir..

Null Object: It's designed to work as an objectr's default value.

Observer: It's way of reporting change in some classes.

State: It's in charge of changing the behavior of an object when it's status changes.

Strategy: It's in charge of taking in an algorithm inside the class.

Template method: It's in charge of delaying an algorithm's full steps to a sub class.

Visitor: It's in charge of defining a new task to class without changing..

3) Creational Design Patterns (Creational)

Creational Design Patterns (Creational) is completely interested in class sampling.

Creational Design Patterns (Creational) can also be separeted to class creation patterns and object creation patterns.



Abstract Factory: It's in charge of creating an example of one or more class family.

Builder: It's in charge of separating object structure from it's representer..

Factory Method: It's in charge creating the example of a few derived class.

Object Pool: It's used for getting rid of expensive resources by recycling unused objects and releasing resources..

Prototype: It's in charge of creating an example to be copied.

Singleton: Name given to a group with only a single example.



This is the end of my thread.

Uchiha wishes a good day.



---------------------


 
Moderatör tarafında düzenlendi:
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.