Abstract Factory

xiaoxiao2021-03-06  63

definition

Name: Factory structure: intent: Provide an interface to create a series of related or interdependent objects without specifying their specific classes. Applicability: A system to be independent of its product creation, combination, and representation. A system is to be configured by one of a plurality of product lines. When you want to emphasize a series of related product objects for union use. When you provide a product class, just want to display their interfaces instead of implementation. effect:

Classic Case

1,

Best Practices

1,

Related mode

1,

Reference article

1,

转载请注明原文地址:https://www.9cbs.com/read-85672.html

New Post(0)