Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sadcitizen/javascript-design-patterns

Реализация на javascript шаблонов проектирования
https://github.com/sadcitizen/javascript-design-patterns

Last synced: 5 days ago
JSON representation

Реализация на javascript шаблонов проектирования

Awesome Lists containing this project

README

        

# Javascript Design Patterns (Черновик)

### Реализация на javascript шаблонов проектирования

1. Порождающие шаблоны / Creational patterns
+ Абстрактная фабрика / Abstract factory
+ [Пространство имен / Namespace] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/creational/namespace)
+ [Прототип / Prototype] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/creational/prototype)
+ [Синглтон / Одиночка / Singleton] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/creational/singleton)
+ Строитель / Builder
+ Фабричный метод / Factory method
2. Структурные шаблоны / Structural patterns
+ [Адаптер / Adapter] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/structural/adapter)
+ [Декоратор / Decorator или Оболочка / Wrapper] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/structural/decorator)
+ [Заместитель / Proxy или Суррогат / Surrogate] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/structural/proxy)
+ [Компоновщик / Composite] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/structural/composite)
+ [Модуль / Module] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/structural/module)
+ Мост / Bridge
+ [Примесь / Mixin] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/structural/mixin)
+ Приспособленец / Flyweight
+ [Фасад / Facade] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/structural/facade)
3. Поведенческие шаблоны / Behavioral patterns
+ Интерпретатор / Interpreter
+ [Итератор / Iterator или Курсор / Cursor] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/behavioral/iterator)
+ Команда / Command, Действие / Action или Транзакция / Transaction
+ [Наблюдатель / Observer / Publisher-Subscriber] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/behavioral/observer)
+ Посетитель / Visitor
+ [Посредник / Mediator] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/behavioral/mediator)
+ [Состояние / State] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/behavioral/state)
+ [Стратегия / Strategy] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/behavioral/strategy)
+ [Хранитель / Memento] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/behavioral/memento)
+ [Цепочка обязаностей / Chain of Responsibility] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/behavioral/chain-of-responsibility)
+ Шаблонный метод / Template Method
4. Шаблоны корпоративных приложений / Enterprise patterns
+ [Реестр / Registry] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/enterprise/registry)
+ Репозиторий / Repository
+ [Запрос/Ответ / Request/Response] (https://github.com/instanceofpro/javascript-design-patterns/tree/master/patterns/enterprise/reqres)
5. Прочие - отсортировать
+ Единая точка входа / Front Controller
+ Sandbox / Песочница
+ Объектный пул / Object pool
+ Отложенная инициализация / Lazy initialization