I took advantage of the end-year holiday period to work on my Google Summer of Code project and I'm very pleased to announce the release of phpAspect alpha 0.1.0.
In order to run phpAspect properly, you need to install the latest version of PHP Parse_Tree.
I have started docbook documentation thanks to the help I have received from Sebastian. This documentation is available on Google code hosting svn in the event you would like to contribute.
I'm very thankful to the Google Summer of Code and to the PHP community for making this project possible. When I first started this project, I only wanted to create a prototype to experiment AOP for PHP using XSLT. However, the more I interacted with member of the PHP community and GSoCers, the more excited I became about creating a community around phpAspect to support the project and making it widely usable.
Through this perspective, my focus is currently to perform refactoring on the source code so it can be easier to understand by other developers in addition to solving deployment problems.
Any feedback questions, comments, or criticisms you might have are welcome: phpaspect@googlegroups.com.
I'm really looking forward to improve this tool with you !
Friday, January 5, 2007
Subscribe to:
Post Comments (Atom)

6 comments:
Well done William ... I think you did well and your contribution is a real plus for the whole PHP community.
Ph.R.
Hi William,
congratulations for the new version. I have been talking with Sebastian at xing.com about your project because we're looking for an AOP module for a Spring like application framwork in PHP.
What I couldn't really find out reading the documentation is if aspect weaving is something that has to be invoked manually (as Chapter 3 of the docs seem to say). The first line in chapter says that phpAspect extends the compiler which implies runtime weaving. Or do simply both ways work? Sorry, if I don't really get the point.
Regrads,
Ollie
Hello Oliver,
Sorry for the confusion, I really need to add a chapiter about phpAspect architecture.
The weaving is static which means that you have to weave your code before any execution. A "dynamic" weaving can be done using using the rewrite url module of Apache.
One way to think about it is that in development phase, perfomance isn't an issue so you can weave your code on the fly with url rewriting and when you go in production, you don't have to modify your code so you juste weave it once for all.
Hi William,
I can't find windows binary for parse_tree extension, just sources. Can you give ma a link to binary download?
Thanks.
Hello Igor,
The windows build of parse tree is actually a big concern.
I pinged the php guys that build pecl extension under windows.
They will give a try next week, I keep you in touch.
Hi William,
I would like to try out phpAspect with PHP 5.2.1 on a WIN box. Unfortunately I can't trace a respective DLL build for Parse_Tree at PECL4WIN.
Do you eventually have the needed build or do you know anybody having compiled it?
TIA for your support.
Cheers, Stefano
Post a Comment