The Artima Developer Community
Sponsored Link

PHP Buzz Forum
Current State of AOP for PHP

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Sebastian Bergmann

Posts: 313
Nickname: sbergmann
Registered: Sep, 2004

Sebastian Bergmann is the developer of PHPUnit.
Current State of AOP for PHP Posted: Feb 13, 2006 8:30 AM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Sebastian Bergmann.
Original Post: Current State of AOP for PHP
Feed Title: Sebastian Bergmann
Feed URL: http://sebastian-bergmann.de/
Feed Description: Geek by nature, PHP by choice.
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Sebastian Bergmann
Latest Posts From Sebastian Bergmann

Advertisement
I know about four existing approaches to faciliate Aspect-Oriented Programming with the PHP Programming Language:
  • PHPAspect uses a compiler, written in the PHP programming language, that performs static weaving using source code transformations. A downside of this approach is that advantages that stem from PHP's interpreted nature are lost.

  • Aspect-Oriented PHP uses a preprocessor for the PHP programming language written in Java that is responsible for the weaving of aspect- and base-code. Due to its Java implementation this approach does not integrate seamlessly with the PHP platform.

  • aspectPHP is a reimplementation of Aspect-Oriented PHP in C, available as a patch against (not as an extension to) PHP 4.3.10.

  • The AOP Library for PHP requires manual changes to the base-code and thus does not provide obliviousness.
Since I was not satisfied with either of these approaches, I started to work on my own extension for Aspect-Oriented Programming to the PHP Programming Language, AspectPHP, a while ago.

I will post more details on AspectPHP after the AOSD 2006 Student Extravaganza.

Read: Current State of AOP for PHP

Topic: Iceman and The Natural Previous Topic   Next Topic Topic: I am a Nashville Kats Fan

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use