Summary of Aspect Oriented Programming

mjtoolbox 1,247 views 9 slides Jan 21, 2013
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

High level summary of AOP


Slide Content

Aspect Oriented Programming XProject Presentation

Aspect Oriented Programming (AOP) Motivation Usage AspectJ Benefit AOP in .NET Demo Flight Center Blog GitHub

What is AOP? Motivation Complexity Crosscutting concerns

AOP Usage Logging Validation Profiling Security Transaction management - Spring

AOP Concept *.java *.class bytecode *. aj *.class bytecode .class bytecode

AspectJ Cross-cutting concern : parallel concern throughout the modules Joint point : a point in the execution of a program Pointcut : expression that selects one or more join points Advice : code to be executed at a join point selected by a pointcut Aspect ( Pointcut + Advice) Weaving : Java class bytecode + Aspect class bytecode

AOP So why AOP? Encapsulate cross cutting concern Better maintenance Spring AOP provide schema based or annotation based AOP.

AOP in .NET http://www.springframework.net/ http ://www.sharpcrafters.com/aop.net

Demo Flight Center Apache Shiro Open source security framework Blog mjtoolbox.wordpress.com
Tags