Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63121 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65889 invoked from network); 18 Sep 2012 22:46:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2012 22:46:07 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@mindplay.dk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@mindplay.dk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mindplay.dk from 209.85.220.170 cause and error) X-PHP-List-Original-Sender: rasmus@mindplay.dk X-Host-Fingerprint: 209.85.220.170 mail-vc0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:49304] helo=mail-vc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/B7-07072-DA9F8505 for ; Tue, 18 Sep 2012 18:46:06 -0400 Received: by vcbfk26 with SMTP id fk26so567268vcb.29 for ; Tue, 18 Sep 2012 15:46:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=7+eM2MDAXnJ/+ZND618Csph/ZrBx8tCSNkgdGIh0c7M=; b=oZqU/s+MWfg042XxOKlvXfEGyI035xOf4uBipuxBkP1c6mN2oNNEhMCeF8cRsgE5aB QjOFmaX5qAUJZdHQw0h1O4qb0ROWR36EpreGgnZf7QFiWCmsPFbyOl4uT2ozE3t0ZlFw 4nTQjQMIHVZRrkv66IIo0Z1Ej0s3+9eW6n/fbkdtgC4q7fASfwTs5Ay6FK2ubbqLj5Ag ZyFWomDuyLK8YWn345p8P9uAdUlocKzxS33RUKdmAUfGFoUp1mHfpzKJZpNEiUZum/fS FYdmcfgZ6iGmUq2hL8PtU22xN0WU0kPKdCjULJHTKbvLxVgI85QW4C5bWYcVUyDfXE4p V6aA== MIME-Version: 1.0 Received: by 10.221.0.74 with SMTP id nl10mr840585vcb.47.1348008362517; Tue, 18 Sep 2012 15:46:02 -0700 (PDT) Received: by 10.58.91.162 with HTTP; Tue, 18 Sep 2012 15:46:02 -0700 (PDT) In-Reply-To: References: Date: Tue, 18 Sep 2012 18:46:02 -0400 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=bcaec54fb0c29a232a04ca01a703 X-Gm-Message-State: ALoCoQlJYPCGOvCD70tcTFHSVk0JmmaqcGI3tag0oLNHc0kg+LGaguroGwgsl731y1mBa86fugjP Subject: Re: [PHP-DEV] constructor hook From: rasmus@mindplay.dk (Rasmus Schultz) --bcaec54fb0c29a232a04ca01a703 Content-Type: text/plain; charset=ISO-8859-1 Good point - I agree. Thanks for taking the time to think about this! On Tue, Sep 18, 2012 at 12:22 PM, jpauli wrote: > On Tue, Sep 18, 2012 at 5:14 PM, Amaury Bouchard > wrote: > > Sounds to me like aspect-oriented programming, applied to object > construction. > > Take a look at: https://github.com/AOP-PHP/AOP > > +1, this is the same case as AOP, but for constructor. > Thus AOP may fit the need. > > Julien.P > --bcaec54fb0c29a232a04ca01a703--