Design Pattern

SOLID Principles – Interface segregation principle

In the field of software engineering, the interface segregation principle (ISP) states that no code should be forced to depend…

4 years ago

SOLID Principles – Liskov substitution principle

Subtype Requirement: Let  be a property provable about objects  of type T. Then  should be true for objects  of type S where S is a subtype of T.From Barbara Liskov…

4 years ago

SOLID Principles – Open-closed principle

In object-oriented programming, the open–closed principle states "software entities (classes, modules, functions, etc.) should be open for extension, but closed…

4 years ago

SOLID Principles – Single-responsibility principle

The single-responsibility principle (SRP) is a computer-programming principle that states that every module, class or function in a computer program…

4 years ago

Unit Of Work pattern concepts in .NET

The Repository pattern and Unit of Work pattern are used together in most time. Unit of work pattern can increased…

5 years ago

Behavioral Patterns – Visitor

Visitor – It allows the program changes the algorithm and the operations that base on the visitor to change, which means can…

5 years ago

Behavioral Patterns – Template method

Template method – It means the program defines an algorithm skeleton in the superclass, which lets subclasses override algorithm-specific steps that are…

5 years ago

Behavioral Patterns – Strategy

Strategy – It allows the programs to define a family of an algorithm, put each one into a separate class,…

5 years ago

Behavioral Patterns – State

State – This pattern can let the program’s object alter its behavior when its internal state changes, which seems like it changes…

5 years ago

Behavioral Patterns – Observer

Observer – It lets the programs define a subscription mechanism to notify multiple objects, which means when the events happen, other objects…

5 years ago