Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62437 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19327 invoked from network); 23 Aug 2012 20:54:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Aug 2012 20:54:48 -0000 Authentication-Results: pb1.pair.com header.from=krebs.seb@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=krebs.seb@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) X-PHP-List-Original-Sender: krebs.seb@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bk0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:42246] helo=mail-bk0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 52/A7-19512-69896305 for ; Thu, 23 Aug 2012 16:54:47 -0400 Received: by bkcjm19 with SMTP id jm19so385101bkc.29 for ; Thu, 23 Aug 2012 13:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=K72Da2DJEmrgrkCMtG46bH9cz+IVDHWqR+jEQ1jPrkU=; b=F0sk6/MISTFe/o8ZMCkzRLq7xeCQK1K1GZK9jBo3iD3ZBee6GftTLOw8XIYBe+m0c4 /7wu/CnF/gvegItmvJ/rlFbIXbbd+C9ljhesrUekkCfp+xMIJbhq4e7u1VzvY54gEMKl 0g4v99TEo4vM8nM3iCUMnCJgXSzLhMBvOdyB/78Npfl8vwoclmj81MAhWVxwM3Rx/T/f PplvGN2EepWH+G1W4L8q2sQyPzYcHxEBXcP+lHVFmIlCyqRCiYBHj85bnJJhCtygz3VI lOFulCpPrNYXasYLahOTgCZwmeqjoTGINUYKF+mysJlq5I+CI4lI85J7WLp3qOQrAqrI 7FtQ== Received: by 10.205.126.15 with SMTP id gu15mr1154825bkc.134.1345755284171; Thu, 23 Aug 2012 13:54:44 -0700 (PDT) Received: from [192.168.24.2] (91-66-42-108-dynip.superkabel.de. [91.66.42.108]) by mx.google.com with ESMTPS id 14sm5353368bkw.15.2012.08.23.13.54.43 (version=SSLv3 cipher=OTHER); Thu, 23 Aug 2012 13:54:43 -0700 (PDT) Message-ID: <50369892.6080106@googlemail.com> Date: Thu, 23 Aug 2012 22:54:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Aspect Oriented Programming in PHP From: krebs.seb@gmail.com (Sebastian Krebs) Hi, From my users point of view: I would like to see it. Maybe not in this implementation/syntax, especially because it hasn't a special syntax (but imo it should to make the impact more obvious/prominent). With the joint points as string and the common function call I can imagine it can get hard to find out, where a specific advise where attached, or which were attached at all, or just how many. For example I rename a method/class and I will not recognize, that a security advise gets lost, I may realize it as soon as I find my data on pastebin ;) But I have no idea how it could look like.... Regards, Sebastian Am 23.08.2012 16:36, schrieb Peter Nguyen: > 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 >