Advanced AspectOriented Programming     Donald Belcham
The Decorator Aspect• On Start• On Exit• On Exception• On Success
Rethinking• Repetition• Infrastructure
Demo 1:WCF repetition
Infrastructure code gen• Adding infrastructure• Not modifying code behaviour
Demo 2:NHibernate “virtual”    validation
Validation• Tightening the feedback loop
Demo 3:Nhibernate equality    overrides
Code gen• Adding glue• Adding to behaviour
Composition• Introduction  –Additions• Imports  –Underlying interactions
Composition• Advices  –What• Pointcuts  –Where
Other options• Non-AOP frameworks• Hook points – Nhibernate – WCF – Log4Net
Demo 4:OnPropertyChanged
Donald Belchamdonald.belcham@igloocoder.com@dbelchamPlease hand in your evals.
Upcoming SlideShare
Loading in …5
×

Advanced AOP

276 views
219 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
276
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Advanced AOP

  1. 1. Advanced AspectOriented Programming Donald Belcham
  2. 2. The Decorator Aspect• On Start• On Exit• On Exception• On Success
  3. 3. Rethinking• Repetition• Infrastructure
  4. 4. Demo 1:WCF repetition
  5. 5. Infrastructure code gen• Adding infrastructure• Not modifying code behaviour
  6. 6. Demo 2:NHibernate “virtual” validation
  7. 7. Validation• Tightening the feedback loop
  8. 8. Demo 3:Nhibernate equality overrides
  9. 9. Code gen• Adding glue• Adding to behaviour
  10. 10. Composition• Introduction –Additions• Imports –Underlying interactions
  11. 11. Composition• Advices –What• Pointcuts –Where
  12. 12. Other options• Non-AOP frameworks• Hook points – Nhibernate – WCF – Log4Net
  13. 13. Demo 4:OnPropertyChanged
  14. 14. Donald Belchamdonald.belcham@igloocoder.com@dbelchamPlease hand in your evals.

×