节点文献
基于策略模式的存储过程使用研究
On the Usage of Stored Procedure Based on Strategy Pattern
【摘要】 应用策略模式来研究返回数据结果集的存储过程在前端高层模块的使用.在策略模式设计思维下,每个存储过程调用视为一种策略,每一种策略即是一个类,去实现它上层对策略家族的抽象.本文按有参和无参两类存储过程作详细分析,设计类图,并实现.所研究的使用模式,进一步提高了系统的复用性、可维护性.
【Abstract】 The paper applies the strategy pattern to study the use of the stored procedure of the return data result set at the front end of the high-level module. Under the design of strategy pattern, each stored procedure call is treated as a strategy, and each strategy is a class, to achieve the abstraction of the upper to the strategy family. With a detailed analysis of the two types of storage processes(with and without parameters), we design the class diagram and realize the use of the pettern to further improve the system’s reusability and maintainability.
【基金】 四川省教育厅重点科研项目“基于NoSQL大数据技术的信息搜索方案研究”(编号:15ZA0348)、“网络大数据测试基准研究”(编号:15ZA0349)成果之一
- 【文献出处】 四川职业技术学院学报 ,Journal of Sichuan Vocational and Technical College , 编辑部邮箱 ,2017年05期
- 【分类号】TP311.1
- 【下载频次】30