Template method pattern

美 [ˈtemplət ˈmeθəd ˈpætərn]英 [ˈtempleɪt ˈmeθəd ˈpætn]
  • 网络模板方法;模版方法模式
Template method patternTemplate method pattern
  1. Derivation of MFC View Classes , Template Method Pattern , and their Employment in Database Application System

    MFC视图类的继承、模板方法模式及其在数据库应用系统中的应用

  2. The " bridge " role from the broker pattern was then implemented using the template method pattern to support remote service invocation using several different underlying communication technologies .

    中介模式的“桥接”角色是使用模板方法模式实现的,它通过几种不同的基础通信技术,为远程服务调用提供支持。

  3. A servlet that uses the Template Method pattern to encapsulate a three-step workflow .

    一个采用TemplateMethod模式的Servlet封装一个包含三个步骤的工作流。

  4. Similarly , classes using the Template Method pattern contain a series of steps , and some are left blank .

    类似地,采用TemplateMethod模式的类也包含一系列的步骤,而其余的则留空。

  5. Strategy and Template Method pattern are used to encapsulate display algorithm , support multi-strategy and allow dynamically switch them in runtime .

    本论文使用MVC模式实现显示系统的数据组织,显示和用户输入的分离,并使用Strategy和TemplateMethod模式封装算法,支持多种显示算法及其动态切换。

  6. The Template Method pattern suggests that I should move common boilerplate code up the inheritance hierarchy , deferring algorithmic details to child classes .

    TemplateMethod模式建议,应当将公共模板代码移到继承层次结构之上,将算法细节推迟到子类。

  7. The Template Method pattern defines the skeleton of an algorithm in a base class , using abstract methods and overriding to defer individual details to child classes .

    TemplateMethod模式定义了基类算法的骨架,使用了抽象方法和覆盖将具体细节放到子类中。

  8. Therefore , it is a good idea to use template method pattern to design the parser . This makes the extensibility of service modules and the collaboration among them pretty well . Finally , experiments on the parsers have been done .

    对此,本文采用模板设计模式来构造整个解析器,使得服务模块具有很好的扩展性,并且之间具有良好的协作性。