Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63123 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79898 invoked from network); 19 Sep 2012 02:31:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Sep 2012 02:31:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:64684] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/11-05716-76E29505 for ; Tue, 18 Sep 2012 22:31:03 -0400 Received: by obbwc18 with SMTP id wc18so655374obb.29 for ; Tue, 18 Sep 2012 19:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lRr5O26e2RpX96TcrAvOmqTlCfBD+eln7yW2//qQ7Ic=; b=y6E0ec8SAr1jeeY1z0Vtp+fYxeI8Sg97ox1VZrr9TU5PUuByNXY/J+uRyFqXtUAZnm rvL5QePJQlbF6Tq8LQsRqJevww0Ja8sRO0mF+Wo5Uel1Jk42G3Js8ciuTP07UZ0tsKPn 4USK1gHp2Af6/OqYLltK7OEl/EiGWmJ8OIio/O7zG7WB1KwnlyFETu3NQnbSfEZq1xEV +oFz2IBSB4hRytA207KZV5AgRCA7J7kvXOAuBWZJr9C6XkxVMJQO1L6Rms0+WBCNLew8 sQIHTv2psF2+501y/ONBhawcAQOmcqNOHS8udVbb+9EBI2iqljDE97zZ5xGGZfC6CbaU 8Riw== MIME-Version: 1.0 Received: by 10.182.146.46 with SMTP id sz14mr1825848obb.76.1348021860394; Tue, 18 Sep 2012 19:31:00 -0700 (PDT) Received: by 10.60.24.166 with HTTP; Tue, 18 Sep 2012 19:31:00 -0700 (PDT) In-Reply-To: References: Date: Tue, 18 Sep 2012 19:31:00 -0700 Message-ID: To: Amaury Bouchard Cc: Rasmus Schultz , internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d0444e92b2365a004ca04cc81 Subject: Re: [PHP-DEV] constructor hook From: kris.craig@gmail.com (Kris Craig) --f46d0444e92b2365a004ca04cc81 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Sep 18, 2012 at 8:14 AM, Amaury Bouchard wrote: > Sounds to me like aspect-oriented programming, applied to object > construction. > Take a look at: https://github.com/AOP-PHP/AOP > > Yeah I wasn't aware of this, either, but I can think of several scenarios in which it'd be useful. I know this is PECL, but is this something that might be worth bundling? I'm still a bit new here so if that idea's heresy please let me know. If not, that would be a nice feature to have on a default installation I think. Thoughts? @Ferenc Yes congrats on cherry-picking a few recent posts that weren't Nobel Prize material (some of which did make constructive points when viewed in context, albeit with some creative flair). I'm not in the market for a nanny right now; I'll let you know if that ever changes. If you'd like to discuss your personal feelings about this further, please do so via private email so we don't spam the list. --Kris --f46d0444e92b2365a004ca04cc81--