design pattern notes [8] - interpreter, and command
2012-12-29 00:41
369 查看
Interpreter is used to parse a language, just as compiler does.
Sometimes invoker of operation does not know who will process the request or how the request will be processed.Command encapsulate the requests as object. The invoker triggers the
operation by calling execute method of local command reference. This decouples the invoker of the request and the mechanism how the request is processed.
Sometimes invoker of operation does not know who will process the request or how the request will be processed.Command encapsulate the requests as object. The invoker triggers the
operation by calling execute method of local command reference. This decouples the invoker of the request and the mechanism how the request is processed.
相关文章推荐
- design pattern notes [8] - interpreter, and command
- design pattern notes [2] - decorator, facade, Singleton, Flyweight, and Adapter
- design pattern notes [5] - template method
- Asp.Net Design Pattern Studynotes -- Part1
- design pattern notes [3] - factory
- Design Pattern Interpreter 解析者模式
- design pattern notes [3] - factory
- Asp.Net Design Pattern Studynotes -- Part1
- design pattern notes [4] - chain of responsibility, visitor
- design pattern notes [4] - chain of responsibility, visitor
- Asp.net Design Pattern study notes -- PART 3
- design pattern notes [6] - Observer
- design pattern notes [6] - Observer
- Asp.net Design Pattern study notes -- PART 2
- Some Notes About Design Pattern
- design pattern notes [1] - Bridge and composite
- design pattern notes [7] - state,strategy,memento,mediator,and iterator
- design pattern notes [1] - Bridge and composite
- design pattern notes [7] - state,strategy,memento,mediator,and iterator
- design pattern notes [2] - decorator, facade, Singleton, Flyweight, and Adapter