Re: the most amazing php code i have ever seen so far

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 24, 2008 at 9:50 PM, Eric Butera <eric.butera@xxxxxxxxx> wrote:

> On Wed, Apr 23, 2008 at 3:14 PM, paragasu <paragasu@xxxxxxxxx> wrote:
> >  Personally, i vote for www.eyeos.org project for the best php code.
> Anyone
> >  know better?
> >
>
> You want to see something cool?
>
> http://stubbles.net/browser/trunk/src/main/php/net/stubbles/events
>
> I don't actually use that specific code because I don't want that base
> object/serializable stuff.  I wrote something very similar that allows
> me to pre-define a mapping of classes that bind to events.  So when an
> event is fired, it will search to see if any classes have been
> registered to handle it.  Then it will lazy load them and handle the
> event.  This allows me to define a ton of classes for events and there
> isn't any overhead other than one array.
>
> That is pretty powerful to me.
>

wow.. this is the response i expected to see for all php expert programmer.
honestly, i don't know yet how it works. But, it seem so interesting to me.
do you have any live project making use of this one?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux