Hi!
I was wondering if there are any production php sites which are using aspect oriented php. If so, how is it performing in terms of resources, security and maintenance? Oh and also, which project are you using?
Cheers,
Aspect Oriented Programming
Moderator: General Moderators
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
AOP on its simplest level is a way to deal with what are called Cross-Cutting Concerns -- meaning thing that occur across an application, but not in the same organization as the app hierarchy. Access Control and Logging are often given as example of this.
For AOP, you usually need some language level support for this, such as has been done in JBoss. PHP projects like AOPHP add additional runtime software. If you do some searches you can find information about aspects, pointcuts, weaving, etc. that are the building blocks of AOP.
Dependency Injection is a different way to solve some of these problems, just at the object level rather than runtime level. DI is more doable in PHP. Neither can really be implemented in PHP (currently) in any real fashion without add-ons or extreme comprimises.
For AOP, you usually need some language level support for this, such as has been done in JBoss. PHP projects like AOPHP add additional runtime software. If you do some searches you can find information about aspects, pointcuts, weaving, etc. that are the building blocks of AOP.
Dependency Injection is a different way to solve some of these problems, just at the object level rather than runtime level. DI is more doable in PHP. Neither can really be implemented in PHP (currently) in any real fashion without add-ons or extreme comprimises.
(#10850)
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US