面向方面开发思想在提高软件系统复用性方面的应用研究-软件工程专业毕业论文.docxVIP

  • 9
  • 0
  • 约4.7万字
  • 约 69页
  • 2019-05-08 发布于上海
  • 举报

面向方面开发思想在提高软件系统复用性方面的应用研究-软件工程专业毕业论文.docx

面向方面开发思想在提高软件系统复用性方面的应用研究 面向方面开发思想在提高软件系统复用性方面的应用研究 中文摘蜚 摘要 面向方面编程AOP(aspect—oriented programming,AOP)是一种全新的编 程思想,它的提出被认为是一种影响二十一世纪人类生活,工作方式,及经济的 技术思想。它提供了一种机制,这种机制在软件开发中可以方便的捕捉横切关注 点,将那种分散的应用组织组成单独的模块。面向方面编程(AOP)的思想与已 经很成熟的面向对象编程(OOP)从思考方向上有很大的不同。这样可以使我们 在开发系统的过程中从以前一维的思考方式转变成二维的思考方式。 通过引用面向方面编程(AOP)可以解决软件开发过程中的代码杂混、分散, 导致软件开发过程的可追踪性差、开发效率低,特别是代码的复用性不好、代码 质量不高、软件系统的演变进化困难等一系列问题。 目前的开发工具中已经产生了AspectJ,AspectC牛+等相关面向方面编程工 具,然而它们的功能还不如预期中的那么强大,在工程应用中还不是很普遍。 针对目前的这种现时隋况,本文引入面向方面编程AOP(aspect—oriented programming,AOP)“’的思想,与面向对象编程方法(OOP)相结合。构建了 一种面向方面与面向对象相结合的分析设计模型。在具体代码实现上仍旧采用面 向对象的开发工具。这样即可以将面向方面编程(AOP)中的优秀思想补充进入 软件的开发过程中,又可以在实现上采用业界成熟的编程方法来做实现,避免了 实现上的困难。 本研究采用一个实例系统(证券信息资讯系统),将自创建的分析设计模型 引入实例系统的分析设计当中,并论证它对软件开发过程中的种种弊端,特别是 复用性不高的情况的改进有很大的好处。 关键词: 面向方面,面向方面软件开发,复用性提高 第5页共72页 面向方面开发思想在提高软件系统复tl{j性方面的应用研究 面向方面开发思想在提高软件系统复tl{j性方面的应用研究 英文摘要 Abstract Aspect—or J ented programming iS programming idea, It iS technology that affect 1ife,working and economy.AOP provides mechanism for hunt J ng concerns accurately,which makes scattered codes into single modelS.AOP and OOP iS differently.It make me have the other thj nking way. To solve the problems that caused by code tangling and code scattering during the software development process.Such poor traceability,lower productivity,less code reuse,poor code qua]j ty,and difficult evoIution,a software development solution based aspect—oriented programming iS presented to real ize the requirement of the system. At present,there are several developmeht tool On AOP, for instance,AspectJ and AspeetC++.But their function is not power.they not used generally in engineer project. So,we input AOP to software development project and unj te with OOP. Create a analysis process model that unite the AOP and OOP.Adopt the OOP software development tool to implement the whole system.Not only is the good idea of AOP imported to the software development,but also implement the system with OOP,avoid the difficu]ty of development with AOP. Demonstrate

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档