Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33741 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89974 invoked by uid 1010); 5 Dec 2007 17:42:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89959 invoked from network); 5 Dec 2007 17:42:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Dec 2007 17:42:41 -0000 Authentication-Results: pb1.pair.com header.from=robert@typo3.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=robert@typo3.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain typo3.org from 217.72.131.73 cause and error) X-PHP-List-Original-Sender: robert@typo3.org X-Host-Fingerprint: 217.72.131.73 mail.elios.de Linux 2.4/2.6 Received: from [217.72.131.73] ([217.72.131.73:56279] helo=mail.elios.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/87-20707-113E6574 for ; Wed, 05 Dec 2007 12:42:41 -0500 Received: from [192.168.0.6] (pD9EE4909.dip.t-dialin.net [217.238.73.9]) by mail.elios.de (Postfix) with ESMTP id 7EB6B5043CE; Wed, 5 Dec 2007 18:42:38 +0100 (CET) Cc: PHP Developers Mailing List Message-ID: <2747B21A-71A2-4645-9E51-051B93AB52EB@typo3.org> To: Sam Barrow In-Reply-To: <1196862696.7949.5.camel@sbarrow-desktop> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-19--473982979" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Wed, 5 Dec 2007 18:42:28 +0100 References: <1196862696.7949.5.camel@sbarrow-desktop> X-Pgp-Agent: GPGMail d49 (Leopard) X-Mailer: Apple Mail (2.915) Subject: Re: [PHP-DEV] RFC: Dropping Namespace From: robert@typo3.org (Robert Lemke) --Apple-Mail-19--473982979 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Sam, Am 05.12.2007 um 14:51 schrieb Sam Barrow: > Autoload would work exactly the same with namespaces, just do a > str_replace and replace "::" with "_". hmm, and what about this (please correct me if I'm wrong): A search & replace of "Default" would replace both, T3::MyPackage::Controller::Default and T3::OtherPackage::Controller::Default - but they are not the same. The only way to refactor this would be by the help of a semantic-aware tool. Anyway, I'm not against namespaces but the way they are planned to be implemented currently I'm not really excited about them either. robert -- http://typo3.org/gimmefive http://buzz.typo3.org/people/robert-lemke/ --Apple-Mail-19--473982979 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFHVuMNDu+3qCHvGSIRApeVAJ9iHZ8igBTLWjMU8GBSE2VHt2cvHACdGhH7 14qc2vlhMdxcEiUxHhDKeSs= =J8Aw -----END PGP SIGNATURE----- --Apple-Mail-19--473982979--