首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 93 毫秒
1.
设计模式的应用研究   总被引:8,自引:6,他引:8  
林舒萍  罗键 《计算机工程与设计》2005,26(11):2980-2982,3009
就设计模式的概念和基本模式,以及最新出现的一些模式进行了讨论。针对各种设计模式在实际应用中的合理选择和使用方法,以个人信息管理系统的设计开发为例,展示如何根据设计要求和上下文选择适当的设计模式,说明了设计模式在实际中的使用步骤和方法。  相似文献   

2.
设计模式是面向对象理论的进一步深化,其基本目的是为防止程序各模块间产生太多关联而尽量保持类与类之间的相互独立,并使设计出的各种模式具有普遍的应用意义从而避免重复的代码编写。介绍了设计模式的概念以及当前设计模式的一般分类,然后以适配器模式为例,对设计模式的应用进行了研究探讨。通过对同一应用的不同实现方式的比较.突出了设计模式在实际开发应用中的优势。  相似文献   

3.
李忠慧 《福建电脑》2008,24(7):80-81
设计模式和形式化是软件工程领域研究的两个重要方面。本文首先介绍了设计模式和形式化方法等基本知识,其次介绍了设计模式中类和函数间存在的各种基本关系和层次概念,最后利用Z语言形式化描述适配器模式。  相似文献   

4.
Struts框架控制器及其进化的模式分析   总被引:1,自引:0,他引:1  
Struts框架为Web应用提供了预备的软件架构和相关的软件包,它的实现源代码使用设计模式以满足框架本身的复用性要求。简要介绍了Struts框架如何实现MVC模式,通过分析Struts框架控制器源码所使用的经典设计模式和J2EE模式阐明了Struts框架的工作原理及设计思想。针对该框架只能支持HTML格式终端数据的问题,讨论了如何使用具体设计模式将其控制器进化为以XML格式数据为应用处理核心来屏蔽各种客户终端。  相似文献   

5.
设计模式是面向对象理论的进一步深化,其基本目的是为防止程序各模块间产生太多关联而尽量保持类与类之间的相互独立,并使设计出的各种模式具有普遍的应用意义从而避免重复的代码编写.介绍了设计模式的概念以及当前设计模式的一般分类,然后以适配器模式为例,对设计模式的应用进行了研究探讨.通过对同一应用的不同实现方式的比较,突出了设计模式在实际开发应用中的优势.  相似文献   

6.
首先介绍MVC设计模式的基本思想,然后利用MVC模式,在数据库方面采用分布式的设计思想,实现了一个基于J2EE的网络付费平台。该平台可应用于各种母系统。  相似文献   

7.
蔡家楣 《计算机科学》2004,31(8):156-158
设计模式对于构建可复用的软件框架有重要意义。本文用构造型说明法讨论了满足结构化要求的各种元设计模式应具备的语义特性。提出了用构造型说明来描述基于元模式的模式规约的思想。  相似文献   

8.
设计模式在内容管理系统中的应用与研究   总被引:1,自引:0,他引:1  
为了提高软件系统的可维护性和可复用性,模式特别是设计模式逐渐引起了人们的重视。通过在内容管理系统的开发中引入设计模式,不仅使得设计简洁明了,而且提高了系统的可维护性和伸缩性。  相似文献   

9.
物流信息系统中设计模式的应用   总被引:1,自引:0,他引:1  
随着信息系统的不断发展,客户对软件系统提出了更高的要求。由于软件开发固有的复杂性、软件实现的不易复制性,软件的生产过程面临许多问题。设计模式提供了对问题簇的设计精良的解决方案。文中通过在物流信息系统中引入设计模式,具体分析了三种代表性的设计模式在物流信息系统中的应用,证明了模式设计的引入有助于提高软件的可复用性、可维护性以及稳定性和安全性。  相似文献   

10.
设计模式将新的设计建立在以往工作的基础上,复用以往成功的设计方案。在内容管理系统发布程序的设计中引入设计模式使得整个程序结构清晰、各部分功能明确,提高了系统的扩展性和可维护性。  相似文献   

11.
成功地利用模式可以有效提高软件的开发效率和设计质量,通用模式具有较强的普适性,结合具体领域特点形成的实例模式具有更强、更具体的指导作用。为了实现一个辅助设计模式复用的CASE工具,对设计模式的几个面向对象的原则进行分析,提出了一种面向对象的分布式软件实例模式库来存储设计模式,并给出相应的类层次库组织结构、分布式的交互管理和基于聚类的多级索引方法及面向对象的嵌套索引方法。依此存储模式以更有效地管理和利用模式。  相似文献   

12.
In recent years, the influences of design patterns on software quality have attracted increasing attention in the area of software engineering, as design patterns encapsulate valuable knowledge to resolve design problems, and more importantly to improve the design quality. One of the key challenges in object-oriented design is how to apply appropriate design patterns during the system development. In this paper, design pattern is analyzed from different perspectives to see how it can facilitate design activities, handle non-functional requirement, solve design problems and resolve design conflicts. Based on the analysis, various kinds of applicability of design patterns are explored and integrated with a goal-driven approach to guiding developers to construct the object-oriented design model in a systematic manner. There are three benefits to the proposed approach: making it easy to meet requirements, helping resolve design conflicts, and facilitating improvement of the design quality.  相似文献   

13.
The object-oriented approach has been the most popular software design methodology for the past twenty-five years. Several design patterns and principles are defined to improve the design quality of object-oriented software systems. In addition, designers can use unique design motifs that are designed for the specific application domains. Another commonly used technique is cloning and modifying some parts of the software while creating new modules. Therefore, object-oriented programs can include many identical design structures. This work proposes a sub-graph mining-based approach for detecting identical design structures in object-oriented systems. By identifying and analyzing these structures, we can obtain useful information about the design, such as commonly-used design patterns, most frequent design defects, domain-specific patterns, and reused design clones, which could help developers to improve their knowledge about the software architecture. Furthermore, problematic parts of frequent identical design structures are appropriate refactoring opportunities because they affect multiple areas of the architecture. Experiments with several open-source and industrial projects show that we can successfully find many identical design structures within a project (intra-project) and between different projects (inter-project). We observe that usually most of the detected identical structures are an implementation of common design patterns; however, we also detect various anti-patterns, domain-specific patterns, reused design parts and design-level clones.  相似文献   

14.
介绍了面向对象设计和设计模式,并以虚拟教室系统中的共享白板为基础讨论了面向对象软件重构过程中的一些问题.将设计模式和重构贯穿于面向对象的软件开发和演化过程可以得到更加灵活的、可复用的软件。  相似文献   

15.
面向对象和模式在嵌入式软件中的应用   总被引:5,自引:0,他引:5  
由于嵌入式系统的特殊性,长期以来嵌入式软件设计和开发使用的是过程化技术,使用面向对象和模式进行嵌入式软件设计,是一种全新的设计理念。该文描述了面向对象和模式的实现机制,分析了面向对象和模式在嵌入式软件设计和开发中的应用,提出了一个基于面向对象和模式设计的面向通信领域的嵌入式软件平台模型,并给出了基于该平台的上层应用开发模式。  相似文献   

16.
设计模式中的面向对象原则及其子模式   总被引:10,自引:0,他引:10  
在[Gamm95]中总结并提出了面向对象软件设计中非常重要的23个设计模式,这些模式尽管形态各异、目的不同,但它们都体现了相同的几个面向对象原则。该文讨论了这些面向对象的原则并对隐含在设计模式中的几个“子模式”进行了分析和总结。  相似文献   

17.
Design patterns are often used in the development of object-oriented software. It offers reusable abstract information that is helpful in solving recurring design problems. Detecting design patterns is beneficial to the comprehension and maintenance of object-oriented software systems. Several pattern detection techniques based on static analysis often encounter problems when detecting design patterns for identical structures of patterns. In this study, we attempt to detect software design patterns by using software metrics and classification-based techniques. Our study is conducted in two phases: creation of metrics-oriented dataset and detection of software design patterns. The datasets are prepared by using software metrics for the learning of classifiers. Then, pattern detection is performed by using classification-based techniques. To evaluate the proposed method, experiments are conducted using three open source software programs, JHotDraw, QuickUML, and JUnit, and the results are analyzed.  相似文献   

18.
面向对象可复用软件设计思想分析   总被引:6,自引:0,他引:6  
软件复用技术是有效利用已有的软件资源,提高软件开发效率,降低开发成本的技术.但是如何才能设计出一个可以复用的软件,这是我们大家都很关心的问题,Erich Gamma博士在这方面进行了有益的尝试,他的研究方法是总结前人在面向对象软件开发过程中所积累的经验,即模式,但是模式是如何总结出来的,在总结模式时,或者说在设计可复用的软件时应该如何思考问题,这比总结模式本身更重要.本文主要从软件复用的关键——隔离变化入手,深入探讨和分析了面向对象的软件系统构造过程中可能发生变化的点,并给出了屏蔽这些变化点的方法,并提出了一个设计面向对象可复用软件的新的可操作的思路、  相似文献   

19.
飞行仿真已经成为飞行控制系统分析、设计和研发过程的一个重要部分,仿真软件的设计是实现仿真目的的关键.面向对象仿真方法是当前飞行仿真软件发展的一个重要方向.而设计模式是面向对象技术的最新进展之一.本文介绍了设计模式的原则与策略,简要描述了飞行仿真系统的结构与主要功能.以此为基础,通过UML类图示例,详细论述了多个设计模式在飞行仿真软件设计中的应用.最后重新设计和开发了数字飞行仿真软件.  相似文献   

20.
大数量大粒度实体对象管理方案的设计与实现   总被引:2,自引:0,他引:2  
大量的耗费内存资源的实体对象正在日益成为面向对象软件系统的沉重负担。该文依照面向对象设计的原则,对实体对象的管理问题做出分析,依据“createondemand”的思想,将数据实体设计、载入导出方式以及管理控制策略独立开来,并在典型的设计模式的基础上进行扩展,形成一个基本的设计框架,最后在方案的可重用性、可扩展性、系统的运行效率以及数据的一致性等方面进行了一定的讨论。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号