【关键词】财务系统 AOP Spring.NET
【英文关键词】Financial System AOP Spring.NET
财务系统论文:基于AOP设计模式的财务系统的设计和实现
【中文摘要】近些年来,随着企业的发展速度的不断加快,计算机和网络在企业中的应用越来越广泛,企业中各种业务活动也越来越离不开计算机的支持和协助。其中,企业中财政业务处理更是显著的说明了这一点,由于传统的财务管理在存储和查询等方面存在的诸多弊端,现代企业在传统的财务管理基础上,越来越倾向于使用基于计算机和网络系统的财务管理。随着软件设计模式的不断更新和完善,一种新的设计模式越来越受到软件设计人员的重视和使用:Aspect Oriented Programming,即面向切面方向编程的设计模式,简称AOP设计模式。这种设计模式可以将传统设计模式的各个模块中的重复的逻辑业务代码块抽离出来,放在单独的切面模块中进行处理,降低了程序编码的耦合性,方便动态的添加功能,增加了程序代码的可重用性。面向切面方向编程是对面向对象编程的一种很好的补充和完善,两者不是对立的,而是相互补充,共同使用的,面向对象编程适用于实体类的编程,而面向切面方向的编程适合于对公共的业务操作类进行封装,两者相辅相成,共同作用。目前面向切面方向编程的模式在.NE
T平台下的发展还不够完善,但是从.NET和JAVA在语言实现上的某些相似性上来看,我们可以参照JAVA平台中spring frameworkAOP的实现机制和方法,结合.NET语言的特点,进行相关的实现。JAVA平台中对AOP进行了较好实现的是著名的Spring框架。.NET平台下的AOP框架目前有Aspect C#,Eos等等,Spring.NET是Spring框架的.NET移植版,是目前对AOP封装较为完善的框架。本文采用传统软件开发流程和方法,对财务系统进行了详细的分析和架构设计,并对模块设计和实现阶段进行了详细的描述,本文完成和描述的具体的内容如下:一、对财务系统进行详细的需求分析需求分析是软件工程中非常重要的一个阶段,决定着软件系统是否能够正确的完成并符合用户的要求,本文针对财务系统业务流程中涉及的各种问题进行了详细分析并且将业务领域与计算机领域联系起来,并对各个业务模块设计相应的软件功能模块。二、对财务系统进行架构设计结合传统的软件开发模式,将面向对象设计模式和面向切面设计模式相结合,将系统的界面层,业务层和数据层分别实现,并在业务层中添加面向切面设计模式中的消息拦截和功能添加处理,针对财务系统中涉及的特殊功能需要进行相应的设计。三、对系统进行编码实现系统的实现使用了C#开发语言和.NET平台,结合SQLSERVER数据库完成数据的存储和管理。针对财务业务中遇到的数据精度,权限检查,日志管理等等分别进行了实现,并设计和实现了良好的用户界面。是操作界面更加友善化,
对系统管理员提供了更加直观的管理和分析功能,使管理者能够在企业中做出更加正确的决策。四、总结和展望完成上述工作后,对整个开发工作进行及时的总结和分析,得出系统实现的优势和存在的缺陷,对面向切面设计模式的未来发展进行了分析和展望。
【英文摘要】In recent years, with the quick development of enterprise business, Computerand Network system become more and more useful and important, Enterprisebusiness activities can not even run without the assistance of the computer system.Among them, the financial business significantly proved this. As the defects exist inthe traditional financial business on storage and inquire, People are more and morewilling to use the modern financial management system based on the computer andnetwork system.Along with the constant improvement of the software design patterns, A newkind of design pattern gets more and more attention of software designers: AspectOriented Programming, which is referred as AOP design pattern. This kind of designpattern can separate repeated code blocks from each module in the traditional designpattern and processing that in a certain module, in case to reduce the coupling the ofthe program code blocks, convenient to the addition of dynamic function and increasethe reusability of the pro
gram code blocks. The AOP design pattern is a kind of goodcomplement to the OOP design pattern. Object-Oriented programming is applicable toentity classes and Aspect-Oriented programming is suitable for business logical class.They are not on the opposition, but a good kind of complement to each other.At present the design pattern on the.Net platform is still not perfect, but we canfind the similarity of the implementation between Java and.Net. The famous Springframework of Java provides a good realization of AOP design pattern and in the.Netframework, Spring.Net will be a good choice.This paper adopts the traditional method of software development, Analysis anddesigns the financial system in detail; describe the module design and the codingphase. The contents in the paper are as follows: 1. The detailed requirement analysis of the financial system.Requirement analysis is a very important stage in software engineering, whichdetermines whether the software system complete the requirements of customerscorrectly. This article analysis the problems in the financial business process andconnect the business area and the computer area, and design the function modules foreach business module.2. The design of the financial system.Based on the traditional soft
ware design pattern, we unite the AOP design patternAnd the OOP design pattern, design the system with three layers: UI, BLL and DAL,add aspect functions in the business logic layer, and design certain functions for thefinancial system.3. The implementation of the system.The system implementation uses the C#language and the.NET platform, withthe SqlServer management studio to storage the data. The system provides goodimplementation of access check, log management and so on, which can help managersmake better decisions.4. Summary and outlook.After completing the work above, the article analysis the entire work ofdevelopment and summarized the advantages and defects of the system, and lookforward to the future of the Aspect-Oriented programming.
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论