Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sadcitizen/javascript-design-patterns
Реализация на javascript шаблонов проектирования
https://github.com/sadcitizen/javascript-design-patterns
Last synced: 5 days ago
JSON representation
Реализация на javascript шаблонов проектирования
- Host: GitHub
- URL: https://github.com/sadcitizen/javascript-design-patterns
- Owner: sadcitizen
- Created: 2014-02-04T07:25:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-22T09:04:21.000Z (over 7 years ago)
- Last Synced: 2023-11-07T21:19:48.599Z (about 1 year ago)
- Language: JavaScript
- Size: 201 KB
- Stars: 114
- Watchers: 12
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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