摘要
为提高农场系统的复用性,提出一种基于设计模式的农场系统设计方案。针对农场系统中复杂的高耦合度的问题,提出应用工厂方法设计模式来降低农场园丁和水果之间耦合度的解决方法。实验证明,工厂方法设计模式降低了农场系统各模块之间的耦合度,提高了系统的可扩展性及可复用性。
In order to improve the reusability of Farm System, a design scheme which is based on Design Pattern is proposed in this paper. Factory Method Design Pattern is applied to the system, and it can reduce the high coupling between gardener and fruit. It has been found that this method can reduce the coupling between modules and improve the system's scalability and reusability.
出处
《价值工程》
2013年第16期191-192,共2页
Value Engineering
关键词
工厂方法
设计模式
农场系统
factory method
design pattern
farm system