Laszlo Nagy | 1 Oct 22:15 2009

Newbie questions


  Hi All,

I have been looking into aspect oriented programming, and hit the PEAK 
website. I'm just over the Tutorial PDF. It is very interesting but... 
unfinished. The PEAK API doc is almost empty. I'm lost. Can you please 
point me to some resources that will help me understand the basic 
concepts of AOP with PEAK? I'm familiar with Python and OOP, I just 
would like to see how AOP works, how it is implemented by PEAK and how 
it would help me in developing applications.

To many questions from a beginner. :-)

Thanks,

   Laszlo
Laszlo Nagy | 2 Oct 08:09 2009

Build error

Is really 0.5a3 is the latest version? It is the latest available on 
peak.telecommunity.com, but it is from 2004. Is PEAK a live project?

building 'kjbuckets' extension
creating build/temp.linux-i686-2.6
creating build/temp.linux-i686-2.6/src
creating build/temp.linux-i686-2.6/src/kjbuckets
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c 
src/kjbuckets/kjbucketsmodule.c -o 
build/temp.linux-i686-2.6/src/kjbuckets/kjbucketsmodule.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
build/temp.linux-i686-2.6/src/kjbuckets/kjbucketsmodule.o -o 
build/lib.linux-i686-2.6/kjbuckets.so
building 'peak.binding._once' extension
creating build/temp.linux-i686-2.6/src/peak
creating build/temp.linux-i686-2.6/src/peak/binding
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c 
src/peak/binding/_once.c -o 
build/temp.linux-i686-2.6/src/peak/binding/_once.o
src/peak/binding/_once.c: In function ‘__pyx_f_isLock’:
src/peak/binding/_once.c:95: warning: label ‘__pyx_L1’ defined but not used
src/peak/binding/_once.c: In function ‘__pyx_f_isOurs’:
src/peak/binding/_once.c:110: error: lvalue required as left operand of 
assignment
src/peak/binding/_once.c:130: error: lvalue required as left operand of 
assignment
src/peak/binding/_once.c: In function ‘__pyx_f_14BaseDescriptor_onSet’:
src/peak/binding/_once.c:252: warning: label ‘__pyx_L1’ defined but not used
(Continue reading)

P.J. Eby | 2 Oct 16:21 2009

Re: Build error

At 08:09 AM 10/2/2009 +0200, Laszlo Nagy wrote:
>Is really 0.5a3 is the latest version?

No; 0.5a4-dev is, available via SVN.

>  It is the latest available on peak.telecommunity.com, but it is 
> from 2004. Is PEAK a live project?

Not really; see http://www.eby-sarna.com/pipermail/peak/2007-June/002710.html
P.J. Eby | 2 Oct 16:23 2009

Re: Newbie questions

At 12:45 AM 10/2/2009 +0430, Laszlo Nagy wrote:

>  Hi All,
>
>I have been looking into aspect oriented programming, and hit the 
>PEAK website. I'm just over the Tutorial PDF. It is very interesting 
>but... unfinished. The PEAK API doc is almost empty. I'm lost. Can 
>you please point me to some resources that will help me understand 
>the basic concepts of AOP with PEAK?

The most current AOP tools available as part of the PEAK project set 
are PEAK-Rules (generic functions, but also interception of existing 
methods or functions), AddOns (concern separation/data aspects), and 
Crosscuts (parameter crosscutting).

For the source of these projects, and their docs, see 
http://svn.eby-sarna.com/

Gmane