← Graph

Is AOP a failed idea, and how does it relate to DDD?

question 2 connections

Audience member (a former AOP fan) asks why AOP failed. Krzywda: at the Rails-framework level AOP is alive — DHH promoted Rails callbacks as AOP in 2004 — and in Java AOP is very successful inside Spring. Event-driven DDD effectively simulates AOP: events are 'after' advice, and 'before' advice is rarely needed in practice, so the AOP label faded while the underlying idea survived.

answer_summary
AOP didn't really fail: Rails callbacks and Spring still use it. Event-driven DDD simulates 'after' advice via events, which covers the common cases.
question Is AOP a failed idea, and how does it relate to DDD?
about
Topic of the question.
question Is AOP a failed idea, and how does it relate to DDD?
asked_at
Asked during the talk's Q&A.

Provenance