按照下面的分类开始着手,写下每一个模式的故事和我自己的理解

1 From Mud To Structure
    Domain Model
    Layers
    Model-View-Controller
    Presentation-Abstraction-Control
    Microkernel
    Reflection
    Pipes and Filters
    Shared Repository
    Blackboard
    Domain Object
2 Distribution Infrastructure
    Messaging
    Message Channel
    Message Endpoint
    Message Translator
    Message Router
    Publisher-Subscriber
    Broker
    Client Proxy
    Requestor
    Invoker
    Client Request Handler
    Server Request Handler
3 Event Demultiplexing and Despatching
    Reactor
    Proactor
    Acceptor-Connector
    Asynchronous Completion Token
4 Interface Partitioning
    Explicit Interface
    Extention Interface
    Introspective Interface
    Dynamic Invocation Interface
    Proxy
    Business Delegate
    Facade
    Combined Method
    Iterator
    Enumeration Method
    Batch Method
5 Component Partitioning
    Encapsulated Implementation
    Whole-Part
    Composite
    Master-Slave
    Half-Object plus Protocol
    Replicated Component Group
6 Appilcation Control
    Page Controller
    Front Controller
    Application Controller
    Command Processor
    Template View
    Transform View
    Firewall Proxy
    Authorization
7 Concurrency
    Half-Sync/Half-Async
    Leader/Followers
    Active Object
    Monitor Object
8 Synchronization
    Guarded Suspension
    Future
    Thread-Safe Interface
    Double-Checked Locking
    Strategized Locking
    Scoped Locking
    Thread-Specific Storage
    Copied Value
    Immutable Value
9 Object Interaction
    Observer
    Double Dispatch
    Mediator
    Command
    Momento
    Context Object
    Data Transfer Object
    Message
10 Adaption and Extention
    Bridge
    Object Adapter
    Chain of Responsibility
    Interpreter
    Interceptor
    Visitor
    Decorator
    Execute-Around Object
    Template Method
    Strategy
    Null Object
    Wrapper Facade
    Declarative Component Configuration
11 Modal Behavior
    Objects for States
    Methods for States
    Collections for States
12 Resource Management
    Container
    Component Configurator
    Object Manager
    Lookup
    Virtual Proxy
    Lifecycle Callback
    Task Coordinator
    Resource Pool
    Resource Cache
    Lazy Acquisition
    Eager Acquisition
    Partial Acquisition
    Activator
    Evictor
    Leasing
    Automated Garbage Collection
    Counting Handle
    Abstract Factory
    Builder
    Factory Method
    Disposal Method
13 Database Access
    Database Access Layer
    Data Mapper
    Row Data Gateway
    Table Data Gateway
    Active Record

这些都出自 POSA 卷4
该书总结了绝大部分我们用过的模式。

posted on 2007-11-09 17:58  default.aspx  阅读(956)  评论(0编辑  收藏  举报