Re: Aspect Oriented Programming in PHP

From: Date: Thu, 23 Aug 2012 15:26:05 +0000
Subject: Re: Aspect Oriented Programming in PHP
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Benefits:

- Standard way to use AOP in PHP without having to use any specific
framework
- No need to recompile code after each change in that particular framework.
- I know too little about C but I would guess that there is more possiblity
to optimize the feature if it's built-in.

2012/8/23 William Betts <[email protected]>

> On Thu, Aug 23, 2012 at 7:36 AM, Peter Nguyen <[email protected]> wrote:
> > Hi,
> >
> > AOP (http://en.wikipedia.org/wiki/Aspect-oriented_programming) when used
> > correctly, can make your application really modular. I've seen several
> > implementations but they all require compiling of code beforehand. There
> is
> > however a PECL extension now (https://github.com/AOP-PHP/AOP) that
> enable
> > AOP in PHP directly. I was wondering if there are any
> interests/possibility
> > to include AOP into the PHP core?
> >
> > Best regards,
> >
> > Peter
>
> I know very little about AOP and don't pretend to know a lot, but how
> would we benefit
> from directly adding it into core instead of taking the approach FLOW3 did?
>


Thread (26 messages)

« previous php.internals (#62426) next »