面向对象编程-AS3设计模式

一般来讲可将设计模式分为三大类。

一.creational  创建类

Factory Mode Pattern(工厂方法) 、Singleton Pattern(单例模式) 

二.structural  结构类

Decorator Pattern(装饰者模式)、Adapter Pattern(适配器模式)、Composite Pattern(组合模式)

三.behavioral 行为类

Command Pattern(行为模式)、Observer Pattern(观察者模式)、Template Method Pattern(模版方法)、State Pattern(状态模式)、Strategy Pattern(策略模式)

各种小的设计模式的组合,形成混合模式分为两类

一.Model-View-Controller ,mvc设计模式

二.Symmetric Proxy ,对称代理

设计模式和oop的两个发展

面向接口的编程

Favor Composite ove inheritance ,but 组合跟继承往往同时使用

 

转载于:https://www.cnblogs.com/YonguiL/archive/2013/03/29/2985137.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值