Skip to content

Instantly share code, notes, and snippets.

@arturlector
Last active October 26, 2018 14:09
Show Gist options
  • Save arturlector/824796346653351a86d9 to your computer and use it in GitHub Desktop.
Save arturlector/824796346653351a86d9 to your computer and use it in GitHub Desktop.
Какие паттерны еще знаете?

Какие паттерны еще знаете? Классификация паттернов?

Паттерны порождающие (creational patterns)

    1. Абстрактная фабрика (Abstract factory)
    1. Строитель (Builder)
    1. Фабричнй метод (Fabric method)
    1. Ленивая инициализация (Lazy initialization)
    1. Объектный пул (Object pool)
    1. Одиночка (Singleton)

Паттерны структурные (structural patterns)

    1. MVC
    1. Декоратор (Decorator: Categories, Delegation)
    1. Адаптер (Adapter: Delegation)
    1. Фасад (Facade)
    1. Компоновщик (Composite)

Паттерны поведения (behavioral patterns)

    1. Наблюдатель (Observer: Notification)
    1. KVO (key-value observing)
    1. Хранитель (Memento: UserDefaults)
    1. Цепочка обязанностей (Chain of Responsibility)
    1. Команда (Command: Target-Action mechanism)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment