Wednesday, May 23, 2018

Types of design pattern?

Problem statement: what are the types of design pattern?
  • Types of Design Pattern?
  1. Structural: Adapter, Facade
  2. Creational: Singleton, Factory
  3. Behavioral: Iterator, Observer, Stragegy
Structural: deals with structure of class and it is made of variable & methods
Creational: deals with how to instantiate an object
Behavioral: one class interact with other
  • Enterprise level design pattern?
  1. MVC - model view controller
  2. DI - Dependency Injection
  3. DAO - Data Access Object
  4. DTO - Data Transfer Object

No comments:

Post a Comment

How to run standalone mock server on local laptop

 Please download the standalone wiremock server from Direct download section at the bottom of the page.  Download and installation Feel fre...