Font Size: a A A

The Design And Implementation Of A Web Application Framework

Posted on:2015-01-06Degree:MasterType:Thesis
Country:ChinaCandidate:J YuFull Text:PDF
GTID:2268330428978169Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Currently, the demand of enterprise application system is increasing. The model ofcustomized development is no longer meeting the needs of software providers andcustomers, because it not only increases the cost of development but also seriously affectsthe quality of the software. Then development of the Web application system based on Webapplication framework is becoming hot in the current research and application.When faced with different enterprise requirements, developers can develope a specificsystem by a general application framework. They only focus on the implementation ofpersonalized business function in the process of development. Besides, some common andbasic modules can be reused from the framework itself, which can achieve the ultimate goalof a rapid development with high quality software product. This can not only improve themarket competition ability of software enterprise, but also can meet the needs of enterprisecustomers much faster and better at the same time, which makes win-win situa tion ofsoftware providers and enterprise customers. Therefore, the development of a relativelygeneral Web application framework has important and practical significance. This paperpresents a new Web application framework.In this paper, the main work is listed as follows:1. Through analyzing and comparing open source frameworks in the main trend of theindustry, it makes the decision of the selection scheme, in which Spring Framework is thecore component, Hibernate+Spring JDBC implements the persistence layer, Spring’s IoCand AOP implement business layer, Spring MVC implements control layer, BootStrapimplements presentation layer. Then the work of framework integration is disscussed.2. On the basis of fully research on framework requirements, and by reference to thesimilar design ideas of open source projects, combining my own practice experience, usingthe appropriate design pattern, design principle and component-based developmenttechnology the framework design and implementation of components of each layer are discussed. Takes the framework’s business layer as an example, the paper shows the processof unit test which has the ability of transaction rollback. In short, the work includesrequirements, design, implementation, testing mission of the four major phases of thesoftware life cycle.3. The design of some generic function on system level and pluggable basic servicesfor the framework is present. System level function mainly includes the rights management(including user management, role management and menu management), regionalmanagement and organization management; Basic services mainly include a set of services:transaction, cache, security, logging, etc. In addition, this framework provides the design forcommon DAO interfaces, and common data access operations are encapsulated, whichgreatly simplifies the work of persistence layer.4. By using the ideas of hierarchical structure, dependency injection and aspectoriented programming it realizes the performance of loose coupling, flexibility, easy toextend and maintenance etc.5. The design of a friendly user interface solution provides consistent appearance andbeautiful style.This framework is built-in stable and efficient MVC infrastructure and provides somesupporting components including system permissions, persistence, transaction, cache, log,timing task, delicate pages and so on, which provides a solid and basic developmentplatform for the rapid development of the excellent enterprise application system.
Keywords/Search Tags:Web Application, Framework, Open Source, MVC, Inversion of Control, Aspect Oriented Programming
PDF Full Text Request
Related items