Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26323 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15946 invoked by uid 1010); 4 Nov 2006 16:18:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15931 invoked from network); 4 Nov 2006 16:18:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Nov 2006 16:18:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=cschneid@cschneid.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=cschneid@cschneid.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cschneid.com from 195.226.6.42 cause and error) X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.42 darkcity.gna.ch Linux 2.5 (sometimes 2.4) (4) Received: from [195.226.6.42] ([195.226.6.42:50129] helo=mail.gna.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/72-31937-86DBC454 for ; Sat, 04 Nov 2006 11:18:49 -0500 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id EFBB2CFF79; Sat, 4 Nov 2006 17:18:45 +0100 (CET) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXXRULg3; Sat, 4 Nov 2006 17:18:45 +0100 (CET) Received: from [192.168.1.42] (217-162-171-242.dclient.hispeed.ch [217.162.171.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTP id 0ED64CFF65; Sat, 4 Nov 2006 17:18:45 +0100 (CET) Message-ID: <454CBD65.5040205@cschneid.com> Date: Sat, 04 Nov 2006 17:18:45 +0100 User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: Ilia Alshanetsky CC: internals@lists.php.net References: <005e01c6ff82$e6092c30$ec01010a@intranet.db> <2FAA3BA3-283C-445D-9648-70C207FF2251@prohost.org> In-Reply-To: <2FAA3BA3-283C-445D-9648-70C207FF2251@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at gna.ch Subject: Re: [PHP-DEV] New Datetime class problem From: cschneid@cschneid.com (Christian Schneider) Ilia Alshanetsky wrote: > Avoid common namespaces and you'll make your application futureproof. I'm still wary of this approach because it puts the burden on 99% of the code to be written (applications) instead of a small, controllable subset (core and libraries). > When developing a distributed application it is always a good idea to > prefix functions/class names with app name or some acronym to avoid > overly long names. The way things are going you are going to see more > and more classes being introduced by "core" PHP as well as the growing ... which brings us back to the discussion of namespaces and which one core classes should use ;-) > number of PECL extensions out there and I am not even going to mention > the thousands of libraries out there. Those are less of a problem because you don't have to include them if you don't want to. - Chris