Re: [PHP] $this->value VS $value

2008-09-24 Thread Eric Butera
On Tue, Sep 23, 2008 at 7:30 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 5:25 PM, Eric Butera <[EMAIL PROTECTED]> wrote: >> >> I generate my data access objects too. It goes against my better >> judgment, but performance wins out in this specific situation. > > getting of

Re: [PHP] $this->value VS $value

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 5:25 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > I generate my data access objects too. It goes against my better > judgment, but performance wins out in this specific situation. > getting off the point of the thread (i could care less :D), but have you seen the model ta

Re: [PHP] $this->value VS $value

2008-09-23 Thread Eric Butera
On Tue, Sep 23, 2008 at 7:20 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 4:42 PM, Eric Butera <[EMAIL PROTECTED]> wrote: >> >> Active Record sucks :P > > i prefer code generation to runtime introspection, but runtime > introspection+code generation, well thats a compromise

Re: [PHP] $this->value VS $value

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 4:42 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > Active Record sucks :P > i prefer code generation to runtime introspection, but runtime introspection+code generation, well thats a compromise i can live w/ ;) -nathan

Re: [PHP] $this->value VS $value

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 4:25 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > ... now had 'self' been late (statically) bound ... no I won't go there, we > get > 'static' very soon now :-P and lets not forget the __*Static() magic method suite we're getting too :) -nathan

Re: [PHP] $this->value VS $value

2008-09-23 Thread Eric Butera
On Tue, Sep 23, 2008 at 6:25 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Nathan Nobbe schreef: >> >> On Tue, Sep 23, 2008 at 10:41 AM, Micah Gersten <[EMAIL PROTECTED]> wrote: >> >>> Eric Butera wrote: On Tue, Sep 23, 2008 at 12:26 PM, Jochem Maas <[EMAIL PROTECTED]> >>> >>> wrote: >

Re: [PHP] $this->value VS $value

2008-09-23 Thread Jochem Maas
Nathan Nobbe schreef: On Tue, Sep 23, 2008 at 10:41 AM, Micah Gersten <[EMAIL PROTECTED]> wrote: Eric Butera wrote: On Tue, Sep 23, 2008 at 12:26 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: (using $this->foo or MyClass::$foo for static properties). also self:: Actually within a class, I

Re: [PHP] $this->value VS $value

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 10:41 AM, Micah Gersten <[EMAIL PROTECTED]> wrote: > > Eric Butera wrote: > > On Tue, Sep 23, 2008 at 12:26 PM, Jochem Maas <[EMAIL PROTECTED]> > wrote: > > > >> (using $this->foo or MyClass::$foo for static properties). > >> > > > > also self:: > > > > > Actually within a

Re: [PHP] $this->value VS $value

2008-09-23 Thread Micah Gersten
Eric Butera wrote: > On Tue, Sep 23, 2008 at 12:26 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > >> (using $this->foo or MyClass::$foo for static properties). >> > > also self:: > > Actually within a class, I think you must self:: before a static property or something shows up in the err

Re: [PHP] $this->value VS $value

2008-09-23 Thread Eric Butera
On Tue, Sep 23, 2008 at 12:26 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > (using $this->foo or MyClass::$foo for static properties). also self:: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $this->value VS $value

2008-09-23 Thread Jochem Maas
uaca man schreef: Hello to all my fellow members of the PHP community. As a personal rule i always use $this in front of class members, but i always knew from others programing languages and i guess I just thought it was same in PHP that without $this keyword it should work just the same, howeve

Re: [PHP] $this->value VS $value

2008-09-23 Thread Nathan Nobbe
On Tue, Sep 23, 2008 at 9:55 AM, uaca man <[EMAIL PROTECTED]> wrote: > Hello to all my fellow members of the PHP community. > > As a personal rule i always use $this in front of class members, but i > always knew from others programing languages and i guess I just > thought it was same in PHP that

[PHP] $this->value VS $value

2008-09-23 Thread uaca man
Hello to all my fellow members of the PHP community. As a personal rule i always use $this in front of class members, but i always knew from others programing languages and i guess I just thought it was same in PHP that without $this keyword it should work just the same, however in the code bellow