Re: constructor hook
| From: | Kris Craig | Date: | Wed, 19 Sep 2012 18:37:02 +0000 |
| Subject: | Re: constructor hook | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-63172@lists.php.net to get a copy of this message | ||
On Wed, Sep 19, 2012 at 10:34 AM, jpauli <jpauli@php.net> wrote:
>
> On Sep 19, 2012 4:31 AM, "Kris Craig" <kris.craig@gmail.com> wrote:
> >
> > On Tue, Sep 18, 2012 at 8:14 AM, Amaury Bouchard <amaury@amaury.net>
> 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?
>
> Why not, 2 solutions here :
> - Bundle it with PHP sources
> - Merge it with core (trunk)
>
> I think that it may need more code to bind AOP functionnalities to
> Reflection though.
>
> Anyway, an RFC will be needed ;)
>
> Julien.Pauli
>
Agreed.
--Kris