Hi > Yeah thats pretty much it. It does make it eaiser for people using > dom in another lanugage to pick it up in php if it did conform to > the standard. Expecially how we are trying to conform the functions > to begin with. Instead of having append_child... why not add_child..
'cause appendChild, resp. append_child is the the w3c standard ... > - We started conforming to the standard why not go the whole way. - 'cause, as said before, it's the php way to seperate words. And i would much apreciate, if this would be everywhere the same (isset and is_null as a wonderfull example...) > And with alias we can have the php standard and the w3c standard. i don't see a reason for that. it's not that complicated to change appendChild to append_child in your code. you have to change your code anyway. and since PHP is not case-sensitive functionname wise, you will get funny stuff (see ext/gd in all the tutorials, if php is ever going case sensitiv (is it?), then all those examples are in big trouble :) ) I'm certainly against introducing the non-underscore api-stuff. and BTW, i didn't found anything on w3.org, which says method names have to be studly caps (but i just had a quick look). The php-api is more or less clear in that way, that where w3c suggest an uppercase letter, php makes an underscore. Therefore it's not that hard to switch between different languages. ok. i repeat more or less what others said... chregu > > - Brad > --- Markus Fischer <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I fail to see the advante. Is it only that 'it looks like > > what the w3c recommends' and 'so users already used to the > > api have it easier' or did I miss something else? > > > > - Markus > > > > On Tue, May 14, 2002 at 01:47:22PM -0700, Brent R. Matzelle wrote : > > > --- brad lafountain <[EMAIL PROTECTED]> wrote: > > > > Why don't we just add alias... so it will be BC and > > > > so we don't get shunned on by people like that. > > > > > > That would fit the bill nicely. > > > > > > Brent > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > LAUNCH - Your Yahoo! Music Experience > > > http://launch.yahoo.com > > > > > > -- > > > PHP Development Mailing List <http://www.php.net/> > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > > Please always Cc to me when replying to me on the lists. > > GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc > > --------------------------------------------------------- > > "I mean "When in doubt, blame mcrypt" is more often right than wrong :)" > > "Always right, never wrong :)" > > - Two PHP developers who want to remain unnamed > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > > -- nam...christian stocker adr...bremgartnerstr. 66, ch-8003 zurich pho...+41 1 451 6021 www...http://phant.ch/chregu mob...+41 76 561 8860 [EMAIL PROTECTED] wor...+41 1 240 5670 gpg...0x5CE1DECB -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php