https://github.com/berwin/learn-javascript-design-pattern
:musical_note:学习javascript设计模式,记录的小例子~ :musical_note:
https://github.com/berwin/learn-javascript-design-pattern
Last synced: about 1 year ago
JSON representation
:musical_note:学习javascript设计模式,记录的小例子~ :musical_note:
- Host: GitHub
- URL: https://github.com/berwin/learn-javascript-design-pattern
- Owner: berwin
- License: mit
- Created: 2015-11-24T09:38:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-30T10:59:38.000Z (over 10 years ago)
- Last Synced: 2025-03-18T12:03:45.774Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 76.2 KB
- Stars: 94
- Watchers: 7
- Forks: 34
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# learn-javascript-design-pattern
学习javascript设计模式,记录的小例子~
### 第一篇 - 面对对象编程
* [第一章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter1) 灵活的语言————javascript
* [第二章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter2) 面对对象编程
### 第二篇 - 创建型设计模式
* [第三章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter3) 简单工厂模式
* [第四章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter4) 工厂方法模式
* [第五章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter5) 抽象工厂模式
* [第六章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter6) 建造者模式
* [第七章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter7) 原型模式
* [第八章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter8) 单例模式
### 第三篇 - 结构型设计模式
* [第九章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter9) 外观模式
* [第十章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter10) 适配器模式
* 第十一章 代理模式
* [第十二章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter12) 装饰者模式
* [第十三章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter13) 桥接模式
* [第十四章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter14) 组合模式
* [第十五章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter15) 享元模式
### 第四篇 - 行为型设计模式
* [第十六章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter16) 模板方法模式
* [第十七章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter17) 观察者模式
* [第十八章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter18) 状态模式
* [第十九章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter19) 策略模式
* [第二十章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter20) 责任链模式
* [第二十一章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter21) 命令模式
* [第二十二章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter22) 访问者模式
* [第二十三章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter23) 中介者模式
* [第二十四章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter24) 备忘录模式
* [第二十五章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter25) 迭代器模式
* [第二十六章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter26) 解释器模式
### 第五篇 - 技巧型设计模式
* [第二十七章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter27) 链模式
* [第二十八章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter28) 委托模式
* [第二十九章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter29) 数据访问对象模式
* [第三十章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter30) 节流模式
* [第三十一章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter31) 简单模板模式
* [第三十二章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter32) 惰性模式
* [第三十三章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter33) 参与者模式
* [第三十四章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter34) 等待者模式
* [第三十五章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter35) 同步模块模式
* [第三十六章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter36) 异步模块模式
* [第三十七章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter37) Widget模式(其实是实现一个模板引擎)
* [第三十八章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter38) MVC模式
* [第三十九章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter39) MVP模式
* 第四十章 MVVM模式
# The MIT License (MIT)
Copyright (c) 2015 Berwin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.