AOP - Aspect oriented programming
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

AOP - Aspect oriented programming

Started by [NL]Pur, 20 March, 2004, 15:24:31

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

[NL]Pur

I've recently about  the existence of 'Aspect oriented programming',

Since there lots of programmers here,,

Could someone explain to me what it exactly is. Is this a technique extending OOP or the new standard of the future ?

[NL]Pur

so nobody heard of this before ? :(

NotRabidWombat

It is the next level up above OOP. It allows you to abstract the global design of your software and modify collections (member function, properties, etc) as if they were data.

An excellent example is logging. Logging helps developers trace and debug code. BUT a logging object must be included in every other object. This adds a lot of tedious coding and creates heavy maintance (what if you want to change your logging OR what if you make a mistake).
So AOP lets you say: put this line of code at the beginning and end of every public member function. Enter this into your weaver with your source and viola, you have added the intertwined code.

I think there are some prototype languages for Java called HyperJ and AspectJ.

-NotRabidWombat


I like childish behavior. Maybe this post will be deleted next.

SMF spam blocked by CleanTalk