Introducción a la programación orientada a aspectos
Introduction to Aspect-Oriented Programming. Breve artículo de introducción a la programación orientada a aspectos. Después de una rápida introducción terminológica, presenta un ejemplo simple y lo explica. AOP es quizá difícil de entender la primera vez, por lo que un ejemplo parece la mejor ruta.
Aspect-Oriented Programming (AOP) complements OO programming by allowing the developer to dynamically modify the static OO model to create a system that can grow to meet new requirements. Just as objects in the real world can change their states during their lifecycles, an application can adopt new characteristics as it develops.
…
AOP allows us to dynamically modify our static model to include the code required to fulfill the secondary requirements without having to modify the original static model (in fact, we don’t even need to have the original code). Better still, we can often keep this additional code in a single location rather than having to scatter it across the existing model, as we would have to if we were using OO on its own.
[Estoy escuchando: «A Fine Romance» de Fred Astaire en el disco Hits of the 30’s & 40’s, Vol. 1 (1 of 2)]