Sorry for duplicate message- mail server fail.
Chris Trahey
Web Applications Developer
Database Administrator
College Station I.S.D.
On Mar 12, 2010, at 5:37 PM, "Chris Trahey" wrote:
Perhaps a new concept in class-based OO programming, I'm not sure.
Depending on your perspe
avascript and the Obj.prototype which (combined with anonymous functions)
allows you to extend the "base" functionality of other objects that
"extend" it.
Thank you for your comments and thoughts!
Chris Trahey
Web Applications Developer
Database Administrator
CSISD [Technology]
tiple overloads are attempted, they could be in
sequence, such that you'd end up having an inheritance chain like this:
called_class <-- second_overload <-- first_overload <-- Library_Class <--
etc.
On Fri, Mar 12, 2010 at 8:11 PM, Etienne Kneuss wrote:
> Hi,
>
> On Sat
uages perhaps, as is the case with javascript and
the Obj.prototype which (combined with anonymous functions) allows you to
extend the "base" functionality of other objects that "extend" it.
Thank you for your comments and thoughts!
Chris Trahey
Web Applications Developer
Databas
{}
Or
group(MyInterface MyClass) function myMethod() {}
Chris Trahey
Web Applications Developer
Database Administrator
College Station I.S.D.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
st-practices, help people solve problems with PHP
Another line item on a feature list (someone's selling this stuff,
right ? ;)
Negatives:
Someone has to code it
Some people will write fragile code with it.
Looking forward to more thoughts...
Chris Trahey
Web Applications Developer
Database
I guess what I'm really getting at is another access modifier:
private, protected, public...
And now adding something like trusted.
trusted function myMethod() callable trustedInterface {}
In a case like this, caller would always be available, but not always
type-checked.
Chris Trahe
dClass or impliments trustedInterface
or we have Exception
}
Surely there would be a few ways to skin this cat, but it solves the
"friend class" relationship without if(instanceof)... which would be
pretty cool.
Chris Trahey
Web Applications Developer
Database Administrator
Col
known (intrinsically) but the
sender is not. It seems like a basic property of a method call that is
not exposed in a semantically appropriate way.
Chris Trahey
Web Applications Developer
Database Administrator
College Station I.S.D.
On Sep 18, 2009, at 7:28 PM, Larry Garfield
wrote:
On Frid
ike a basic
element of OOP.
Chris Trahey
Web Applications Developer
Database Administrator
CSISD [Technology]
Chris Stockton writes:
>On Wed, Sep 16, 2009 at 1:59 PM, Chris Trahey wrote:
>> (Please direct me elsewhere if necessary, this is a feature request)
>>
>> It would be
ying on debug_backtrace() for access to the
object a bad idea.
Chris Trahey
Web Applications Developer
Database Administrator
CSISD [Technology]
Sebastian Bergmann writes:
>Chris Trahey schrieb:
>> using it is current-implimentation specific (i.e. developer needs to
&g
mat of the array returned)
Chris Trahey
Web Applications Developer
Database Administrator
CSISD [Technology]
rquadl...@googlemail.com writes:
>2009/9/17 Chris Trahey :
>> It seems worthwhile in a service-provider situation where you do not
>wish to
>> enforce use of $this in service
an implicit way for a message recipient
to determine who is sending the message, in a uniform way (not left up
to the consumers of your API to impliment).
Thanks for your consideration.
Chris Trahey
Sent from my iPhone
On Sep 16, 2009, at 8:47 PM, Larry Garfield
wrote:
If the object
er instanceof 'my_interface')) throw new dev_execption();
if( ! ($this->authenticateMod(caller))) throw new
admin_exception('module
not active');
$this->loadedMods[caller->module_id()] = caller;
return caller->onLoad();
}
Chris Trahey
Web Applications Developer
Database Administrator
CSISD [Technology]
hosts, assign whichever php module is appropriate
3. have v-hosts that point to the same files, but use different versions
of php\
4. requests can look like this: php5-2-10.mysite.com php5-3-0.mysite.com
php6-0.mysite.com
Chris Trahey
Web Applications Developer
Database Administrator
CSISD
15 matches
Mail list logo