News Feed
Sections




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

Matthew Weier O'Phinney's Blog:
Aspects, Filters, and Signals, Oh, My!
January 11, 2011 @ 10:24:08

Matthew Weier O'Phinney has a new in-depth post to his blog that looks at a few features of Aspect Oriented Programming and what technologies are out there that help support it right now. He mainly focuses on the features of the Lithium framework because of its filtering techniques.

Last month, during PHP Advent, gwoo wrote an interesting post on Aspect-Oriented Design, or Aspect Oriented Programming (AOP) as it is more commonly known. The article got me to thinking, and revisiting what I know about AOP, Intercepting Filters, and Signal Slots -- in particular, what use cases I see for them, what the state of current PHP offerings are, and where the future may lie.

He gives a base class to help make things a bit clearer for the rest of the post - a simple Foo instance that uses a Listener interface to "doSomething". Matthew also talks about intercepting filters (extracting things like logging/debugging out of the code and put on its own) and signal slots. For both, he gives examples of how Lithium handles them and some of his opinions on the methods. He points out a few concerns that he has for the current state of AOP in PHP (frameworks) and suggests that, if you haven't looked at these ideas, you do so sooner rather than later.

3 comments voice your opinion now!
aspectoriented programming aop aspect filter lithium


blog comments powered by Disqus

Similar Posts

PHPit.net: PHP5 Class Basics, Part 1

DevShed: Checking Boolean Values with Filters in PHP 5

Job Posting: HedgeCo Networks Seeks Web Design/Programming Intern (Palm Beach, FL)

NetTuts.com: Programming With Yii2: Integrating User Registration

Richard McIntyre's Blog: Weaving Lithium #li3 into a legacy PHP application incrementally


Community Events

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


php7 conference interview community laravel symfony opinion project part2 api framework language podcast example composer series yii2 introduction application list

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