Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62426 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45941 invoked from network); 23 Aug 2012 15:26:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Aug 2012 15:26:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=peter@likipe.se; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=peter@likipe.se; sender-id=unknown Received-SPF: error (pb1.pair.com: domain likipe.se from 109.74.1.223 cause and error) X-PHP-List-Original-Sender: peter@likipe.se X-Host-Fingerprint: 109.74.1.223 web1.likipe.se Linux 2.6 Received: from [109.74.1.223] ([109.74.1.223:45537] helo=web1.likipe.se) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B7/21-40468-6AB46305 for ; Thu, 23 Aug 2012 11:26:31 -0400 Received: from mail-pb0-f42.google.com ([209.85.160.42]:47330) by web1.likipe.se with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.77) (envelope-from ) id 1T4ZIg-0004i5-R3 for internals@lists.php.net; Thu, 23 Aug 2012 17:26:27 +0200 Received: by pbbrp8 with SMTP id rp8so1607882pbb.29 for ; Thu, 23 Aug 2012 08:26:25 -0700 (PDT) Received: by 10.68.212.161 with SMTP id nl1mr5578153pbc.84.1345735585270; Thu, 23 Aug 2012 08:26:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.234.98 with HTTP; Thu, 23 Aug 2012 08:26:05 -0700 (PDT) In-Reply-To: References: Date: Thu, 23 Aug 2012 17:26:05 +0200 Message-ID: To: William Betts Cc: PHP Internals Content-Type: multipart/alternative; boundary=e89a8ff1c89c8589a204c7f07bde X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web1.likipe.se X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - likipe.se X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Aspect Oriented Programming in PHP From: peter@likipe.se (Peter Nguyen) --e89a8ff1c89c8589a204c7f07bde Content-Type: text/plain; charset=ISO-8859-1 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 > On Thu, Aug 23, 2012 at 7:36 AM, Peter Nguyen 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? > --e89a8ff1c89c8589a204c7f07bde--