News Submission: Aspect-Oriented PHP
| From: | bryan at www dot aophp dot net | Date: | Wed, 05 Jan 2005 18:07:13 +0000 |
| Subject: | News Submission: Aspect-Oriented PHP | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-27081@lists.php.net to get a copy of this message | ||
I am Bryan Saunders, and together with John Stamey and Matthew Cameron, we
have developed an Extension to PHP to enable you to do Aspect-Oriented
Programming with PHP. AOPHP 1.0 currently supports basic Before, After,
and Around advice. Future versions will have more advanced support for
these 3 types of advice.
The Extension was developed using Java 1.5 and runs on Apache Web Servers.
There are two parts to the implementation of AOPHP. The first involves
using the Apache module ModRewrite, "the Swiss Army Knife of URL
manipulation." The second is the aophpexec.aophp script which calls the
AOPHP parser, written in Java 1.5. Aspects are written with a .aophp
extension. These aspects are woven into incoming .php files by the Java
AOPHP parser, contained in aophp.jar.
For more information on AOPHP, visit http://www.aophp.net/ and
For
information on Aspect-Oriented Programming, visit http://www.aosd.net/ and
http://www.aspectorientedprogramming.org/.