检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]宝鸡文理学院陕西省灾害监测与机理模拟重点实验室,陕西宝鸡721013 [2]宝鸡文理学院图书馆,陕西宝鸡721016
出 处:《宝鸡文理学院学报(自然科学版)》2015年第4期58-61,67,共5页Journal of Baoji University of Arts and Sciences(Natural Science Edition)
摘 要:目的通过工程实例,描述工厂方法模式在软件开发中的应用技巧和面向对象设计的原则。方法以监控数据接收服务程序为例,对工厂方法模式和反射技术应用场景进行分析,使用C#语言,给出了部分核心代码。结果解决了远程监控数据接收程序因业务规则变化带来的兼容性问题,实现了可配置化应用。结论对面向对象技术的学习和软件架构的设计具有一定的参考价值。Objective— To describe in simple language the application of factory method pattern in software development techniques and the principles of object-oriented design through an engineering example.Methods—With the service program for receiving monitoring data as an example,the factory method pattern and the application scenario of reflection technology are analyzed,and the part of the core code is given in C# language.Results—The compatibility problems,which are caused by the changes of the business rules of the service program for receiving remote monitoring data,are solved,and the configurable application is realized.Conclusion- The factory method pattern has certain reference value for computer science students and developers studying object-oriented technology and designing software architecture.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222