DesignPatternsPHP
  • 1. Създаващи
  • 2. Структурни
  • 3. Поведенчески
  • 4. Допълнително
DesignPatternsPHP
  • DesignPatternsPHP
  • View page source

DesignPatternsPHP

Build Status Documentation Status

This is a collection of known design patterns and some sample code how to implement them in PHP. Every pattern has a small list of examples.

I think the problem with patterns is that often people do know them but don’t know when to apply which.

Patterns

The patterns can be structured in roughly three different categories. Please click on the title of every pattern’s page for a full explanation of the pattern on Wikipedia.

  • 1. Създаващи
    • 1.1. Абстрактна Фабрика
    • 1.2. Строител
    • 1.3. Метод Фабрика
    • 1.4. Pool
    • 1.5. Прототип
    • 1.6. Simple Factory
    • 1.7. Сек
    • 1.8. Статична фабрика
  • 2. Структурни
    • 2.1. Адаптер / Обвивка
    • 2.2. Мост
    • 2.3. Композиция
    • 2.4. Data Mapper
    • 2.5. Декоратор
    • 2.6. Инжектиране на зависимости
    • 2.7. Фасада
    • 2.8. Fluent Interface
    • 2.9. Миниобект
    • 2.10. Пълномощно
    • 2.11. Rigistry
  • 3. Поведенчески
    • 3.1. Верига отговорности
    • 3.2. Команда
    • 3.3. Interpreter
    • 3.4. Итератор
    • 3.5. Посредник
    • 3.6. Спомен
    • 3.7. Празен обект
    • 3.8. Наблюдател
    • 3.9. Спецификация
    • 3.10. Състояние
    • 3.11. Стратегия
    • 3.12. Шаблонен метод
    • 3.13. Посетител
  • 4. Допълнително
    • 4.1. Локатор на служби
    • 4.2. Repository
    • 4.3. Entity-Attribute-Value (EAV)
Next

© Copyright 2011-2020, Dominik Liebler and contributors.

Built with Sphinx using a theme provided by Read the Docs.