~/talk

Aspect Oriented Programming: add magic to your code and remove Boilerplate

Talkat Droidcon Paris 2015 · 2015-11-09..11-10· [android]
slides:none on file

Shows concrete use of AspectJ-style compile-time bytecode weaving to inject logging, transactions and try/catch without proxies, with examples that actually reduce boilerplate. Demonstrates around advice for timing and performance monitoring, annotation-driven caching (memoization), database transaction wrapping, validation by reading annotation parameters, UI-thread posting via handler, automatic field-change hooks to trigger UI updates, role-gated method execution, compile-time package-call checks, and cautions to prefer precise pointcuts and not overuse aspects.

AI-written summary · about

  1. 0:00Introduction
  2. 0:16Who am I
  3. 0:46What is aspectoriented programming
  4. 2:08Example code
  5. 4:44Rules
  6. 5:32AspectChain
  7. 6:10Interface
  8. 8:22Running Performance Monitoring
  9. 9:17Memorization
  10. 10:14Database
  11. 10:54Annotation
  12. 11:30Validation
  13. 12:56Structure
  14. 18:15precedence
  15. 18:56pointcuts
  16. 20:44makesense
  17. 21:20guest
  18. 21:57crosscutting
  19. 23:49magic
  20. 25:11summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.