Aspect-oriented programming is a subject that I find very difficult to find. My old textbook on software mentions only briefly (and vaguely), and Wikipedia and various other textbooks / articles that I could find on it give ultra-academic, highly abstract definitions of what it is like to use it, and when to use it. Definitions that I just donโt understand.
My (very poor) understanding of AOP is that there are many aspects of creating a high-quality software system that would not fit neatly into a nice little cohesive package. Some classes, such as Loggers, Validators, DatabaseQueries, etc., will be used throughout your code base and, therefore, will be highly related. Mine (again, bad ) AOP's understanding is that it is linked to best practices for dealing with these types of "universally connected" packages.
Question: Is this true, or am I completely disconnected? If Iโm completely mistaken, can someone please give a brief, explanatory explanation for what AOP is, an example of the so-called aspect, and perhaps even provide a simple code example?
aop
Eugie Jan 27 '11 at 17:37 2011-01-27 17:37
source share