The general "decorator pattern" is a design pattern that allows adding new behavior to an existing component dynamically.
一般的“装饰模式”是一种设计模式,允许动态地向现有组件添加新的行为。
This article defines the timeline/milestone pattern and its behavior as a reusable software component.
本文将时间轴/里程碑模式及其行为定义为一个可重用的软件组件。
Since component implementation is about behavior, technically, it is often useful to use an interpreter encapsulated inside the component.
既然从技术上讲,组件实现就是与行为有关,因此通常来说使用封装在组件内部的解释器是有效的。
应用推荐