Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 1.96 KB

File metadata and controls

42 lines (23 loc) · 1.96 KB

DESIGN PATTERNS

CATEGORIAS

  • CREATIONAL: Como crear objetos.

    • Builder, Dependency Injection, Singleton
  • STRUCTURAL: Como componer objetos.

    • Adapter: Hace que clases incompatibles sean compatibles entre sí.
    • Facade: Una clase que representa un subsistema completo.
    • Decorador: Permite agregar funcionalidad a un objeto sin alterar su estructura.
  • BEHAVIORAL: Como coordinar interacciones entre objetos.

    • Command, Observer, Model View Controller, Model View ViewModel, Viper Clean Architecture

REFERENCIAS

SOLID Hint:

Single Respon., class only sing respon.

Open/Close., class o module oopen to extension, close to modification

Liskov substitution principle, objects should be replaceable with instances of their subtypes

Interface Segregation., client should not be forced to use an interface irrelevant to it.

Dependency Inversion, High Class not depende on low level class, both depends on abstractions.