AOP for Traversal-related Concern - PowerPoint PPT Presentation

About This Presentation
Title:

AOP for Traversal-related Concern

Description:

In real word problems, concerns are usually inherently ... Traversal is a concern, e.g., traversal on a AST. Special concern needs special AOP language. ... – PowerPoint PPT presentation

Number of Views:15
Avg rating:3.0/5.0
Slides: 7
Provided by: tes879
Category:

less

Transcript and Presenter's Notes

Title: AOP for Traversal-related Concern


1
AOP for Traversal-related Concern Pengcheng
Wu COM3362
2
  • Separation of Concerns par72 is to manage and
    implement conceptual unit in a modular way
  • In real word problems, concerns are usually
    inherently crosscutting each other
  • Available main stream programming models usually
    are good at handle with one concern at a time
  • Object-oriented programming is good for
    abstracting data or class concernoss00
  • Procedure-oriented programming is good for
    abstracting function concern
  • AOP is proposed to handle with crosscutting
    concerns
  • In principle, it can be applied to any
    programming paradigm, but currently most are on
    OO programming
  • Some concerns by AOP, e.g., logging,
    contract-checking,roles

3
  • Traversal is a concern, e.g., traversal on a
    AST. Special concern needs special AOP language.
  • Parallel between AspectJ and Demeter

4
  • When is the most important aspect of the
    design. Using AspectJ terminology, JoinPoint
    model
  • What are in the join point model?
  • When to execute code
  • What arguments available to the advice/Visitor
    method
  • Reflection
  • In DJ, with edge wrappers and FunctionVisitor
    added, we can do more symmtric mapping between
    the Join Point Model of DJ and that of AspectJ

5
Traveral Graph
Call Graph
aA
aA
l
foo()
bB
bB
6
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com