Font Size: a A A

.NET Platform AOP Frame Applied Research

Posted on:2006-06-25Degree:MasterType:Thesis
Country:ChinaCandidate:G H SuiFull Text:PDF
GTID:2168360155965614Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
The object-oriented technology has solved in well the role division problem of the software system. With the aid of in the object-oriented analysis, design and realization technology, the developer may transform the "noun" of the question territory in the software system into the object, thus very natural completes from the question to the software transformation. However, the traditional procedure displays some not to be able frequently to suit the single program module or several close correlations program module behavior naturally, like the logging, the context sensitive error processing, the performance optimization as well as the design pattern and so on, we call this kind of behavior "transverse cutting attention (CrosscuttingConcern)", because it surmounted the typical responsibility boundary, assigned in the programming model. Aspect-Oriented Programming (AOP) is one kind of new programming technology. it makes up the deficiency of the object-oriented programming (OOP) in the module behavior. through introduced Aspect, it seals behaviors in the reusable module, which affect many kind classes, allows the programmer to carry on the modulation to the crosscutting concerns, enable us to be possible to use one kind of loose coupling way to realize the independent concern, then we can combine these implementations to establishe our finally system, thereby eliminating the chaotic and the dispersible code which OOP caused, strengthening the system maintainability and the code reusability. AOP is OOP continuing, is GoF design pattern continuing, the design pattern pursues is diligently the transfer and by the transfer between decoupling, AOP may say also is one kind of realization of this kind of goal. This article first as well as it carries on the elaboration on the AOP production to the OOP development, introduced the AOP principle and the realization mechanism, then refers AOP frameworks in the JAVA platform, profits from several open the source projects of AOP, demonstrated some technologies and ideas to realize AOP Under the Net environment, finally realized a lightweight AOP frame by AspectSharp, and explained uses the design profit as well as in applies the question which in AOP should pay attention.
Keywords/Search Tags:AOP, Aspect, Realization AOP Under the .Net environment, Design Patterns, Aspect-oriented Programming
PDF Full Text Request
Related items