---
title: "js的几种设计模式"
author: "qyzone"
date: "2012-03-23T09:22:12Z"
tags: []
categories: ["Web前端"]
slug: "js"
draft: false
lastmod: "2012-03-23T09:23:59Z"
id: 1462110
url: "https://qyzone.iteye.com/blog/1462110"
---

作者 ：hezi


**一 单体（Singleton）模式
二 　工厂（Factory）模式
三 桥接（bridge）模式
四 装饰者（Decorator）模式
五 组合（Composite）模式
六 适配置器（Adapter）模式
七 享元（Flyweight）模式
八 观察者（Observer）模式
九 命令（Command）模式**