论文部分内容阅读
在软件设计中,设计模式已被大量采用,以提高系统的可扩展性、可重用性和可维护性。从使用设计模式应用的实际例子出发,研究设计模式在实际的应用中会遇到的协作方面的问题。从系统的可扩展性角度讨论了设计模式协作的度量准则,从中提出了设计模式协作的友好性分类,并通过设计模式的应用的实例来分析设计模式协作的友好性分类准则的使用方式,对设计模式的协作使用提出了指导性的意见和建议。
In software design, design patterns have been widely adopted to improve system scalability, reusability and maintainability. Starting from the practical examples of the use of design patterns, we study the problems of collaboration that design patterns may encounter in practical applications. From the point of view of system scalability, we discuss the measurement criteria of design pattern collaboration, propose the friendly classification of design pattern collaboration and analyze the usage patterns of the friendly classification criteria of design pattern collaboration through the application examples of design patterns. The collaborative use of design patterns has provided guidance and advice.