Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sebastian Bergmann:
AOP in PHP 5
Oct 15, 2004 @ 12:12:28

While attending Gunter Kniesel's "Aspect-Oriented Software Development" lecture yesterday it occured to me that it might be possible to (ab)use PHP 5's __autoload(), __call(), __get(), and __set() interceptors to facilitate Aspect-Oriented Programming with PHP.

After a bit of hacking I now have a working prototype that already offers several joinpoints for aspects to use. Now I have to force myself not to work on this fun and interesting project for a while, otherwise I would not get my book done.

It definitely sounds like an interesting idea...

tagged:

Link:


Trending Topics: