SlideServe
Menu
Préférences
© SlideServe · v2026

AOS ‘03

cedric-adams avatar
6 diapositives · 229 Views · Nov 01, 2014

AOS ‘03. Aspect-Oriented Programming. 3 Usages of aspects. Separation of Cross-cutting concerns (multiple functionality at the same joinpoint of the code) Integration Own/3rd party code with generated code Of code layers - ie. the phases of a compiler

AOS ‘03 - slide 1
01 / 6AOS ‘03
1 / 17

Télécharger la présentation

AOS ‘03
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. AOS ‘03 Aspect-Oriented Programming

  2. 3 Usages of aspects • Separation of Cross-cutting concerns (multiple functionality at the same joinpoint of the code) • Integration • Own/3rd party code with generated code • Of code layers - ie. the phases of a compiler • Code consistency check (eg. no direct field access, only use of factories)

  3. AOP tools dimensions (6 out of 19) • Dynamic vs. static • Pr. instance vs. pr. type • SOCC vs. multidimensional SOCC • Query lang. for pointcut specs. • usually weak for dyn. lang. and strong for static • Targets programs vs. Enterprise

  4. Recent trends in the community • More abstract pointcut specification/ joinpoints • programs are too vulnerable to • extensions (aspects won’t hit) • changes (ceases to hit) • Dynamic and pr. instance aspects

  5. Problems • The greatest advantage of AOP is that at any point in the source code it is impossible to see all the code, which is to be executed. At the same time the greatest disadvantage of AOP is that at any point in the source code it is impossible to see all the code, which is to be executed. [bkg;2002] • especially when the aspects relies on each other, hence are not completely separated

  6. AOP language approaches • Language extension to existing languages • +reuse compiler, debugger, editors etc. • +Easy, most concepts are already defined and implemented • Difficult due to bad error messages since the code has been mutated behind the programmers back • New language • Start from scratch, but allows radical thinking • more natural error messages