On Thu, Aug 23, 2012 at 11:11 PM, Ralph Schindler
<ra...@ralphschindler.com>wrote:

> I've started using this extension on a personal project.  So far, I really
> love it.  If the performance aspects of it remain minimal, and the syntax
> remains simple/non-complex, I can see this as a component that would
> benefit many by being included in core.
>
> -ralph
>
>
> On 8/23/12 11:16 AM, Pierre Joye wrote:
>
>> hi,
>>
>> On Thu, Aug 23, 2012 at 4:36 PM, Peter Nguyen <pe...@likipe.se> wrote:
>>
>>> Hi,
>>>
>>> AOP 
>>> (http://en.wikipedia.org/wiki/**Aspect-oriented_programming<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<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?
>>>
>>
>> http://pecl.php.net/package/**AOP <http://pecl.php.net/package/AOP>
>>
>> looking for feedback, contribs, etc.
>>
>> For the record here :)
>>
>> Cheers,
>>
>>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I like it too :), though I think that we shall improve it and at least give
user the ability to disable the hooking option (for example, any class
dealing with payment would like to do that).
In addition, I think that the hook syntax has to be changed into the
"call_user_func" one (instead of... "$obj->foo()" do array($obj, 'foo') )

Cheers! :)

Reply via email to