Research of a Light-weight Framework Based on AOP
- Author
- ZhangZuoYan
- Advisor
- PengJian
- School
- Dalian Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 36
- Citations
- 0
Abstract
Object-Oriented Technology (OOP) to solve the problem of modular software systems in a single business function , did not provide a good solution but the problem of crosscutting concerns . Aspect-oriented technology (AOP) an improvement on this issue is on the object-oriented technology . Aspect-oriented technology (AOP) , the goal is to minimize the degree of coupling between modules , so that the real solution to the crosscutting concerns . AOP, this advantage is reflected in a complex system is particularly evident. The AOP 's advantages are obvious , but the actual project application Queyuanburu OOP . With the rapid development of technology in software development , the developers have put forward higher requirements for software development tools . Framework that is one of the tools used in software development . How to further improve the framework structure has been one of the hot . Modular crosscutting concerns applied to software development frameworks are not well , and therefore need to improve the basis of the existing framework , design a framework to better meet the needs of developers . While some of the framework has been combined with AOP , but due to their less than perfect , and therefore can not be a good solution to problem of crosscutting concerns . Therefore , in order to solve this problem , to fully tap the advantages of AOP , the need for developers to provide a framework to make the system more structured and more efficient for developers . This is exactly the purpose of this writing . This article first serious study of the MVC design pattern , and propose a new design pattern - MVCAD on this basis , and then proposed a framework based on the design pattern ( BACF ) . The framework will be separated from the functional modules crosscutting concerns and crosscutting concerns raised to the realization of the system-level height . The premise does not change the functionality of the system , so the system is more structured , and reduce redundant code in the function module , which greatly facilitates the development and maintenance of the system . To OOP is not a good solution to the cross-cutting issues , such as logs , authority control , abnormal example , specifically aware of the advantages of this framework .
Table of contents
Abstract 5-6
ABSTRACT 6-10
Introduction 10-14
, the crosscutting concerns 10-12
This paper work and significance 12-14
the
aspect-oriented programming 14-24
1.1 AOP concept 14-16
1.1.1 AOP's origins 14
1.1.1 AOP development 14-16
1.2 AOP of related concepts and their advantages 16-18
1.2.1 crosscutting concerns (crosscuttingconcern) 16-17
1.2.2 (aspect) 17
1.2.3 entry point (pointcut is) 17
1.2.4 notice (advice) 17-18
1.2.5 connection point (join point) 18
1.2.6 AOP advantages 18
1.3 AOP's principle 18-19
1.4 AOP implementations 19-22
1.4.1 AOP the development steps 19-20
1.4.2 AOP's implementation mechanism 20
1.4.3 AOP implementation of technology 20-22
1.5 AOP advantage of 22-23
Chapter Summary 23-24
AOP-based design model 24-33
2.1 design patterns 24-25
2.2 OBSERVER design pattern based on AOP 25-27
2.2.1 the Observer Pattern Overview 25-26
2.2.2 Observer mode OOP implementation shortcomings 26
2.2.3 Observer design pattern based on AOP implementations 26-27
2.2.4 Observer design pattern based on AOP advantages 27
2.3 the COMPOSITE design patterns based on AOP 27-28
2.3.1 Composite Profile 27
2.3.2 Composite mode OOP implementation shortcomings 27-28
2.3.3 implementations based on the of the AOP Composite design patterns 28
2.3.4 Composite design pattern based on the AOP advantages 28
2.4 AOP-based application service model 28-29
2.4.1 application service mode Introduction 28
OOP implementation shortcomings
2.4.2 application service model 28-29
2.4.3 application service model based on AOP implementations 29
2.4.4-based the AOP application service mode advantages 29
2.5 based on AOP ROLEOBJECT mode 29-31
2.5.1 RoleObject mode Introduction 29-30
2.5.2 RoleObject service mode OOP implementation shortcomings 30
the
a 2.5.3 model based on AOP RoleObject implementations 30
2.5.4 based on the advantages of AOP of the RoleObject mode 30-31
2.6 AOP-based factory mode 31-32
2.6.1 Factory Pattern Profile 31
2.6.2 Factory Pattern OOP implementation shortcomings 31
2.6.3 factory pattern based AOP implementations 31-32
2.6.4 advantages of factory pattern based AOP 32
Chapter Summary 32-33
Chapter based AOP implementations the mode (MVCAD mode) 33-40
3.1 MVC (MODEL-VIEW-CONTROLLER) mode 33-36
3.1.1 MVC mode Overview 33-35
3.1.2 MVC mode process 35
3.1.3 MVC model advantages 35
the
disadvantage of 3.1.4 MVC mode 35-36
3.2 DAO (DATA ACCESS Object) mode 36-37
3.2.1 DAO mode Overview 36
3.2.2 DAO mode process 36
3.2.3 DAO mode advantages 36-37
3.3 MVCAD (MODEL VIEW CONTROLLER ASPECT DAO) mode 37-39
3.3.1 MVCAD mode Overview 37-38
3.3.2 MVCAD mode process 38
3.3.3 MVCAD mode advantages 38-39
Chapter Summary 39-40
the
fourth based on the the AOP lightweight framework design 40-48
4.1 MVC WEB application system based multi-tier architecture 40-42
4.1.1 presentation layer 41
4.1.2 business layer 41-42
4.1.3 persistence layer 42
4.1.4 multi-tier architecture of Web applications based on the MVC shortcomings 42
4.2 based the AOP lightweight architecture design 42-47
4.2.1 BACF architecture 43-46
4.2.2 DAO layer 46
4.2.3 AOP layer 46-47
Chapter Summary 47-48
Chapter realization of lightweight framework based on AOP 48-56
5.1 AOP layer implementation 48-52
5.1.1 AOP engine implementations 48-49
5.1.2 configuration file 49-51
5.1.3 crosscutting concerns point library 51
5.1.4 notify the realization 51-52
5.2 DAO layer implementation 52-54
5.3 BACF architecture application 54-55
Chapter Summary 55-56
concluded 56-57
the
References 57-59
the
studying for a master's degree during the academic 59-60
Acknowledgements 60-61
Related dissertations
- Aspect Mining Method Research Based on Vector Space Models
- Research of Aspect-Oriented Refactoring Technique
- Research on Requirement Modeling Method of Aspect-Oriented Software
- Techniques for Separation of Crosscutting Concerns
- Research on Software Refactoring
- Aspect-oriented technology research in the design and implementation of NET in
- Research and Implementation of Web Application Performance Monitoring System Based on Aspect-Oriented Programming
- Aspect Oriented Programming’s Application in UP
- The Research and Application of Information System Based on Component and Aspect-Oriented Programming Technology
- One Aspect-Oriented Non-Functional Requirement Framework (AONFRF) Modeling Method
- AOP technology - based research and design of the monitoring configuration software
- Implementation and Application of AOP Framework Based on IT-Kid Repository
- The Research and Implementation of Aspect Oriented Modeling Based on Unified Modeling Language
- Crosscutting Concerns Realization Framework Based on AOP
- The Research of AOP Technology and Implemation in .Net Platformy
- Identifying and Encapsulating Crosscutting Concerns in Java Program
- Application of AOP in Government and Enterprise Customer Management Systems
- Aspect-oriented database system based on the log woven Applied Research
- The Research of AOP Application in Extension Strategy Generating System
- Based the AOP insurance business acceptance system design