Research and Applications of MVC Pattern Based on AOP
- Author
- ShenLiJun
- Advisor
- XieYiWu , ChenMingSheng
- School
- Dalian Maritime University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 124
- Citations
- 6
Abstract
In modern software development , based on B / S mode of development technology more and more popular , but in the use of B / S model for software development process, it encountered as a result of user requirements change , the need to revamp the core business logic code, thereby increasing the cost of development , extending the development cycle , increasing the difficulty of post code maintenance problems . Subsequently , design patterns have been proposed to solve this kind of problem , MVC pattern is one of them , so far this is still the B / S architecture popular pattern of development, particularly in the areas of J2EE development . It provides application development environment provides a layered architecture , namely: the model layer , view and control layers . As object-oriented technology solutions across multiple modules in a crosscutting concern issues inherent flaws , making use of object-oriented technology of J2EE MVC development model, crosscutting concerns in dealing with the issue has greater limitations. Aspect-oriented programming techniques (Aspect-Oriented Programming) is the view of the object-oriented programming techniques in dealing with the drawbacks of crosscutting concerns arise when the . It is to solve the cross-sectional phenomenon as a starting point , coupled with a minimum of processing each concern , so that crosscutting concerns are also modular. Aspect-oriented technology will be run through the system crosscutting concerns extracted formation in layers , using a configuration file declarations of weaving points to increase reuse , improved code maintainability. This paper selected areas currently the most popular J2EE MVC framework Struts, the aspect-oriented technology into Struts, Struts model layer according to the core concerns and crosscutting ( non-core ) concerns into two layers , the application of AOP techniques to achieve non- core concerns points, proposes a new architecture model AO-MVC model, so based on object-oriented technology can be a better solution Struts framework crosscutting concerns and brings many problems .
Table of contents
Abstract 5-6
Abstract 6-9
Chapter 1 Introduction 9-13
1.1 of the problem 9-10
1.2 research status 10-11
1.3 research 11-12
1.4 thesis is organized 12-13
Chapter 2 AOP technology 13-31
2.1 AOP origin introduced 13-15
2.2 AOP principles and frameworks 15
2.3 AOP important concepts 15-17
2.4 understand the \
2.5 using AOP to solve crosscutting issues 20-22
2.6 AOP technology advantages 22-23
2.7 AOP implementation technology 23-26
2.8 AOP implementation strategy 26-27
2.9 IoC introduction 27-30
2.10 IoC and AOP 30-31
Chapter 3 traditional MVC pattern 31-47
3.1 OOP Overview 31-32
3.2 OOP advantage 32-33
3.3 OOP problems 33-35
3.4 MVC Pattern Overview 35-38
3.5 MVC model has the advantage 38
3.6 MVC pattern implementation architecture 38-45
3.6.1 Struts Overview 38-39
3.4.2 Struts workflow 39-40
3.6.3 Struts working mechanism 40-44
3.6.4 Struts Advantages 44-45
3.7 disadvantages of the traditional MVC pattern 45
3.8 traditional solutions 45-47
Chapter 4 MVC framework based on AOP mode 47-57
4.1 AO-MVC Pattern Overview 47
4.2 AO-MVC structure 47-49
4.3 AO-MVC framework AOP implementation 49-55
4.3.1 usual business logic code 49-50
4.3.2 Separation of concerns 50-53
4.3.3 division entry point 53-54
4.3.4 configuration file 54-55
4.4 AO-MVC pattern advantage 55-57
Chapter 5 AO-MVC pattern in e-commerce system application 57-72
5.1 Requirements Analysis 57-58
5.2 Functional design 58-60
5.3 database design 60-61
5.4 System Architecture 61-62
5.5 system modules to achieve 62-69
5.5.1 permissions management 63-64
5.5.2 logging aspect 64-66
5.5.3 Exception handling 66-67
5.5.4 affairs management 67-69
5.6 system is running 69-70
5.7 Experimental Analysis 70-72
Conclusion 72-73
References 73-77
published during the study for a degree thesis 77-79
Thanks 79-81
graduate resume 81
Related dissertations
- The Design and Implementation of Member Management System for Technical Title Evaluation Committee of WeiFang City
- Research on Web-based Incoming Hazardous Goods Declaration System Development and Related Issues
- The Design and Implementation of Support System in Chemical Disaster Accident by Fire Armed Police in Deyang City
- Analysis and design of trading system of land and mining Online
- Modeling Methods for Distributed Learning System
- The Research on Field Information Collection System Based on Palm-Sized PC
- Component - based development practices research
- Design and Implementation of Heating Meter Reading Information System Basing on GPRS
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
- The Design and Implementation of Website Construction Based on OpenCms Technology
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- The Design and Implementation of Multi-sight Traffic Video Joint Interactive System
- Design and Development of C Language Program Design of Excellent Course Website
- Design and Implementation of Multilevel Mapping-based Clinical Pathway System
- Design and Implementation of Practice Teaching Management Platform Based on the MVC Architecture
- Books Management System of Vocational School Based on the J2EE Multi-layer Framework
- Mobile Stock Information Analysis and Browser System Based on Pervasive Computing
- Design and Implementation of Fire Police Dispatch System Based on Java Technology
- Design and Implementation of GIS Distribution Network Management System