课程: Python: Advanced Design Patterns (2018)

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Domain-specific patterns

Domain-specific patterns

- [Instructor] Many of design patterns are general-purpose. However, some focus on more specific areas of stakeholder concerns. We call these domain-specific design patterns. Here the term domain refers to a context in which a set of design patterns are particularly relevant and useful. Examples of domains include real-time, human-computer interface, or HCI, core J2EE patterns, security, et cetera. Here, one of the context that make design patterns domain specific is areas of applications such as real-time and HCI. The other context type centers around certain tools or platforms as in the case of core J2EE patterns. Another context is a quality attribute like security. Domain-neutral patterns are intentionally left abstract to maximize its coverage, but they require further refinement in order to be applied to solve a concrete problem. Therefore, the advantage of using domain-specific patterns is their ease of adaption due to the fact that they're already customized and optimized to…

内容