设计模式在rosereplicator gui中的应用-application of design pattern in rose replicator gui.docxVIP

  • 2
  • 0
  • 约6.51万字
  • 约 85页
  • 2018-07-31 发布于上海
  • 举报

设计模式在rosereplicator gui中的应用-application of design pattern in rose replicator gui.docx

设计模式在rosereplicator gui中的应用-application of design pattern in rose replicator gui

摘要摘要随着计算机软件应用领域的迅速扩大,软件系统规模和复杂度的不断增加,使得软件开发和软件维护面临巨大的挑战,传统的软件开发模式已经越来越不能适应当前的软件应用系统的发展。软件复用被视为解决软件危机、提高软件生产率和质量的一条现实可行的途径。模式是软件复用的新技术。模式根据对处理问题的粒度不同,可以被分为架构模式、设计模式和惯用法。其中,设计模式(DesignPatterns)因能提供相对于对象更高层次的可复用性而成为软件工程领域的热点和研究新领域。设计模式来源于成功的经验,捕捉的是成功解决方案中的结构精华。设计模式记录已知的反复出现的问题,以及在特定上下文中对该问题的解决方案。设计模式构成了强大的复用机制,在快速的需求变化面前,灵活运用设计模式可以解决在软件维护性和复用性上存在的问题,其目标是为软件系统构建灵活的可扩展的设计方案。目前,国内外对设计模式的研究主要集中在形式化、特化、代码生成、采掘、组织与检索等方面,国内对设计模式在应用系统的研究刚刚起步或者不完善。论文重点讨论了设计模式的应用研究。首先介绍设计模式的概念、基本要素以及设计模式的分类和常见的几种设计模式以及它们的用法。此外还阐述了设计模式于软件体系结构、软件框架、组件之间的联系和区别,从而进一步强调了设计模式在面向对象软件设计中的重要地位。紧接着介绍了并给出了设计中应该遵循的几个设计原则,同时指出设计模式不可能解决软件开发过程中的所有问题,只有合理利用才可以达到预期的效果。最后,论文介绍了一些选择、使用设计模式的方法,并以作者参加的RoseReplicator项目中GUI系统为应用背景,并对该系统在体系结构、数据通信接口所采用的设计模式的关键技术展开研究与应用。进而说明了如何在软件系统的设计与开发过程中灵活地引入设计模式,有效减少甚至避免重复设计,提高系统架构的稳定性、可复用性、可维护性、可兼容性,缩短系统的开发周期。关键词:设计模式,观察者模式,建造者模式,工厂模式,适配器模式ABSTRACTWiththescaleexpansionandunceasingcomplexityincreaseofthesoftwaresystem,thesoftwaredevelopmentandmaintenanceisconfrontingadramaticalchallenge.Softwarereusehasbeenregardedasafeasiblemeanstosolvethesoftwarecrisisandtoimprovebothproductivityandqualityofthesoftware.Patternsarenewsoftwarereusetechnologies.Accordingtothegranularityofproblemstobesolved,therearethreelevelsofpatterns:ArchitecturalPatterns,DesignPatterns,andIdioms.Amongthem,DesignPatternsarebecomingahottopicinthefieldofsoftwareengineering,becausetheyprovideabetterreusabilitythanobjects.DesignPatternscomefromthesuccessfulsolutionexperience,andgraspthesoulofthesuccessfulsolution.TheDesignPatternwillrecordtheknownproblemsthatoccurrepetitivelyandthecorrespondingsolutionunderaspecificcontext.FortheDesignPatternshaveapowerfulreusemechanism,theflexibleuseofDesignPatternscanimprovethereusabilityandmaintainabilityofsoftware,anditgoalistobuildanextensiblesolutionforsoftwaresystems.Nowadays,thesearchofDesignPatternshomeandabroadmainlyfocusesonformalization,specialization,codegeneration,excavation,arrangement,retrieval,etc.WhilethestudyofDesignPatternsinourcountryisstillatitspreliminarystagean

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档