Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1782 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36121 invoked from network); 20 May 2003 12:52:34 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 20 May 2003 12:52:34 -0000 Received: from jdi.jdimedia.nl (jdi.jdimedia.nl [212.204.192.51]) by jdi.jdimedia.nl (8.12.4/8.12.4) with ESMTP id h4KCqVgZ026681; Tue, 20 May 2003 14:52:32 +0200 Date: Tue, 20 May 2003 14:52:31 +0200 (CEST) X-X-Sender: derick@jdi.jdimedia.nl To: =?iso-8859-2?Q?J=E1n_=A9u=F2avec?= cc: smith@backendmedia.com, internals@lists.php.net In-Reply-To: <200305201244.OAA03684@www7.pobox.sk> Message-ID: References: <200305201244.OAA03684@www7.pobox.sk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE Subject: Re: RE: [PHP-DEV] RFC: PHP OO API naming convention From: derick@php.net (Derick Rethans) On Tue, 20 May 2003, [iso-8859-2] J=E1n =A6u?avec wrote: > Current: $foo->execute_query($query, $param); > I think, current standart is "PHP" standart.=20 >=20 >=20 > New: $foo->executeQuery($query, $param); > New standart is somethink like DELPHI or C++. Big problem is PHP is=20 > case sensitive. executeQuery and executequery is NOT same. PHP use=20 > another naming convencion as substitute. I think it's better for=20 > users. I choose old standart.=20 Currently the onyl class that is affected is the internal class=20 "Exception", and that already uses the PEAR standard. (which is the only=20 OO standard right now). Functional interfaces won't change, nothing else=20 will changes, we just decide that the way to go for classes in extension=20 is to use the PEAR OO standard, there is really little to chose for you.=20 Derick --=20 "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/=20 International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------