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...




