Proxy 代理模式Factory 工厂模式Singleton 单例模式Delegate 委派模式Strategy 策略模式Prototype 模型模式Template 模板模式 总共有23种设计模式 ,这23种设计模式是建立在六大设计原则