Re: Aspect Oriented Programming in PHP
| From: | Rasmus Schultz | Date: | Sun, 26 Aug 2012 17:51:57 +0000 |
| Subject: | Re: Aspect Oriented Programming in PHP | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-62513@lists.php.net to get a copy of this message | ||
>
> On Thu, Aug 23, 2012 at 7:36 AM, Peter Nguyen <peter@likipe.se> wrote:
> 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?
as I see it, the problem with AOP in PHP is the same as with any other
technique that requires code-generation, in some form or another,
including code-manipulation, pre-processing, transpilers, and so
forth: traceability of errors.
languages that are popular as intermediary languages generally support a
directive that makes it possible to trace errors back to their source.
I raised this issue on the list recently, and no one seemed to react with
any interest...