On Thu, 5 Feb 2004, T. Onoma wrote:

> Date: Thu, 5 Feb 2004 11:16:42 +0900
> From: T. Onoma <transami / runbox.com>
> Newsgroups: comp.lang.ruby
> Subject: Re: what is aspect-oriented s/w? (was Re: role pattern lib for
>     ru by)
> 
> I think I can give a reasonable overall picture of AOP.
> 
> Think about it from a top-down view-point, as a form of weaving code
> together, as opposed to the traditional manner of building one block on top
> of another.  So lets say you want to monitor employees. So you create a
> model of an employee, then you create a logging mechinism, and say a
> visualizer. AOP allows you to weave these components together describing how
> they interact, without requiring you to specifically modify any of the code
> within them.  Traditionally you would have built the logging mechinism on
> top of, or integrated into, the employee model, and likewise with the
> visualizer. AOP allows you to have much cleaner Seperations Of Concerns
> --and that's the real point of AOP.
> 
> So an *aspect* then, is one of these concerns, and is said to be orthogonal
> to the other concerns. The weaving is accompished by describing where code
> is to be "interwoven" into other code. The code that gets "inserted" is
> called *advice* (in practice it is defined much like one does a method).
> This is accomplished by selecting join-points. *Join-points* are specific
> places in code that can have other advice code inserted into it, and are
> selectable by some descriptive syntax. This syntax will select a set of
> joint-points; a set of join-points so selected is reffered to as a
> *point-cut*.
> 
> HTH,
> T.

thanks for that - interesting.

-a
-- 

ATTN: please update your address books with address below!

===============================================================================
| EMAIL   :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE   :: 303.497.6469
| ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
| STP     :: http://www.ngdc.noaa.gov/stp/
| NGDC    :: http://www.ngdc.noaa.gov/
| NESDIS  :: http://www.nesdis.noaa.gov/
| NOAA    :: http://www.noaa.gov/
| US DOC  :: http://www.commerce.gov/
|
| The difference between art and science is that science is what we
| understand well enough to explain to a computer.  
| Art is everything else.  
|   -- Donald Knuth, "Discover"
|
| /bin/sh -c 'for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done' 
===============================================================================