Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31188 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54781 invoked by uid 1010); 23 Jul 2007 14:42:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54756 invoked from network); 23 Jul 2007 14:42:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2007 14:42:14 -0000 Authentication-Results: pb1.pair.com header.from=dz@bitxtender.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dz@bitxtender.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain bitxtender.com from 80.237.132.12 cause and error) X-PHP-List-Original-Sender: dz@bitxtender.com X-Host-Fingerprint: 80.237.132.12 wp005.webpack.hosteurope.de Received: from [80.237.132.12] ([80.237.132.12:48358] helo=wp005.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/6E-32314-34EB4A64 for ; Mon, 23 Jul 2007 10:42:12 -0400 Received: from [87.79.35.58] (helo=[192.168.0.164]); authenticated by wp005.webpack.hosteurope.de running ExIM using esmtpsa (TLSv1:RC4-SHA:128) id 1ICz6t-0002qN-8h; Mon, 23 Jul 2007 16:42:07 +0200 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <46A4BA4F.6090506@dealnews.com> References: <46A31D95.2080407@fischer.name> <46A4661A.6080202@zend.com> <200707231140.55535.pstradomski@gmail.com> <46A4BA4F.6090506@dealnews.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <40CA6572-030F-43E2-8706-64D1167C527C@bitxtender.com> Content-Transfer-Encoding: 7bit Date: Mon, 23 Jul 2007 16:42:04 +0200 To: PHP Internals X-Mailer: Apple Mail (2.752.2) X-bounce-key: webpack.hosteurope.de;dz@bitxtender.com;1185201732;28aa9ea8; Subject: Re: [PHP-DEV] Question about Namespace patch From: dz@bitxtender.com (=?ISO-8859-1?Q?David_Z=FClke?=) Am 23.07.2007 um 16:25 schrieb Brian Moon: >> import SQLAlchemy::Column >> import SQLAlchemy::Table >> import SQLAlchemy::Join >> import SQLAlchemy::ForeignKey >> import SQLAlchemy::Session >> import SQLAlchemy::Transaction > > Why use namespaces if you are going to do this? You are just > bringing your classes into the global name space. The nice thing > about namespaces IMO, is that I don't have to have a class named > SQLAlchemy_Transaction. I can just have a class named Transaction > in the SQLAlchemy namespace. I can then create a new object using > $obj = new SQLAlchemy::Transaction. Oh yes, sure, that must be the main point about namespaces - I can use "::" instead of "_" as a delimiter! Yay! Come on, you can't be serious. David