News Feed
Sections




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

Sebastian Bergmann's Blog:
AspectPHP
March 20, 2006 @ 06:54:17

As was mentioned in one of his previous blog posts, Sebastian Bergmann has been working up his own PHP version of an aspect-oriented framework. According to this new post, he's already done some work on the project and has created a page with more information.

As I wrote earlier, I am not satisfied with the Current State of AOP for PHP and started to work on AspectPHP a while ago. Today I am going to share my ideas on the subject.

What sets AspectPHP apart from other implementations of Aspect-Oriented Programming is its simplicity: aspects are plain PHP classes that declare pointcuts using annotations.

He gives an example of this kind of functionality, including a bit of code to illustrate. The example logs all method calls and, in this case, simply outputs them to the browser.

Unfortunately, he also mentions that, at this time, he doesn't have any code for the framework that he can release, but you can check out the site he's created for more information.

0 comments voice your opinion now!
aspect oriented programming aspectphp framework logging example aspect oriented programming aspectphp framework logging example


blog comments powered by Disqus

Similar Posts

DevShed: Using Inheritance, Polymorphism and Serialization with PHP Classes

William Candillon's Blog: The new release of phpAspect is coming soon

Zend Developer Zone: php|architect Announces 'Programming with the Zend Framework'

Debuggable Blog: Unit Testing in CakePHP Part 1 - Introduction to Unit Testing

Debuggable Blog: Code Coverage Analysis soon in CakePHP - Test How Well You Test


Community Events

Don't see your event here?
Let us know!


middleware podcast wordpress laravel5 voicesoftheelephpant unittest framework release extension api library conference language development introduction interview laravel series community opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework