📖
Docs
  • Hi there 👋
  • Python
    • Tutorial
      • Class
      • Context Managers
      • Iterators and Iterables and generators
      • Lambda Operator
      • Decorators
      • Lập trình Ä‘a luồng
      • Singleton
      • Logging
      • Best practices
    • Django
      • Lazy queryset
      • Sql injection
      • Transaction
    • Flask
    • Fastapi
  • Struct data and algorithms
    • Struct data
    • Algorithms
  • database
    • Nosql và RDBMS
    • Index sql
    • Inverted Index
    • Migrate database best
    • Datatype
  • Cache
    • Caching strategies
    • Cache replacement policies
  • Message queue
    • Message queue
  • Other
    • Clean code
    • Design pattern
    • Encode-decode
    • Security
    • Docker
    • Celery
  • deploy
    • Jenkins
Powered by GitBook
On this page
  • Phân loại
  • Creational
  • Structural
  • Behavioral
  1. Other

Design pattern

Phân loại

Creational

  • Singleton ( Trung bình )

  • Abstract Factory Adapter ( Cao )

  • Factory Method ( Cao )

  • Builder ( Trung bình )

  • Prototype ( Trung bình )

Structural

  • Adapter ( Cao )

  • Bridge ( Trung bình )

  • Composite ( Trung bình )

  • Decorator ( Trung bình )

  • Facade ( Cao )

  • Flyweight ( Thấp )

  • Proxy ( Trung bình )

Behavioral

  • Chain of Responsibility ( Thấp )

  • Command ( Cao )

  • Interpreter ( Thấp )

  • Iterator ( Cao )

  • Mediator ( Thấp )

  • Memento ( Thấp )

  • Observer ( Cao )

  • State ( Trung bình )

  • Strategy ( Trung bình )

  • Template method ( Trung bình )

  • Visitor ( Thấp )

PreviousClean codeNextEncode-decode

Last updated 2 years ago

Code