Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38768 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58456 invoked from network); 4 Jul 2008 13:34:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2008 13:34:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 78.46.69.2 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 78.46.69.2 milch.schokokeks.org Received: from [78.46.69.2] ([78.46.69.2:35412] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A9/8A-14155-4F62E684 for ; Fri, 04 Jul 2008 09:34:47 -0400 Received: from [10.88.8.183] (colt-d53d2146.colt.mediaventures.de [::ffff:213.61.33.70]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Fri, 04 Jul 2008 15:34:41 +0200 id 000000000000C018.00000000486E26F1.00004B0B To: Etienne Kneuss Cc: Johannes =?ISO-8859-1?Q?Schl=FCter?= , Derick Rethans , php-dev List In-Reply-To: References: <1215076043.7021.10.camel@localhost> <1215160135.8875.14.camel@localhost> <1215162928.32294.5.camel@goldfinger.johannes.nop> <1215163596.8875.22.camel@localhost> <1215172604.32294.34.camel@goldfinger.johannes.nop> <1215174704.8875.32.camel@localhost> Date: Fri, 04 Jul 2008 15:34:40 +0200 Message-ID: <1215178480.8875.36.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-19211-1215178481-0001-2" X-Mailer: Evolution 2.22.2 Subject: Re: [PHP-DEV] [RFC] Namespaces for internal classes From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-19211-1215178481-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Etienne, Am Freitag, den 04.07.2008, 14:50 +0200 schrieb Etienne Kneuss: [...] > a big -1 from me on the namings > I really see no point in having: >=20 > use Spl::Exception; > throw new Logic; use Spl::Exception::Logic as LogicException; throw new LogicException(); Besides that, what we should keep in mind, whatever structure we define it is likely that this structure sends an important signal towards other projects (frameworks, libraries) and how they use namespaces. My objection with your proposed method is, that while it fixes the problem of clashes, it fails to structure the classes in the package "Spl". cu, Lars --=_milch.schokokeks.org-19211-1215178481-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQIcBAABAgAGBQJIbibwAAoJECQPF+sCY6wHEjUP/i3WhQlias/0SDrfowlLNL2k qTEf7xfHAsLR+WaPuoZYydZM4u/2qgZpTvQCNgwfZYIuz/GzIeB2oDEQUa8SjbEH nSkFIzekqpmlKwmGpMw3Cxd3UeNFSXU9dV3gD4RrMeHf3X45KG3vTn/QEi4kcY3y 8XpTDYCjq0ZgK/Tv5ZmZ5NKQQhLGycnFggO1x/dYRlkGE3IqyBggNRH8Tf3m6VZK DHHMTnThoWX8Z8l8KCHMbE9IsDBCRWzTEdgJNhUjlWr16j7aMjMsNjHSFfVXTp0S MbXK11VHDinyza2Vex24b5DXC9F4YI1uqooek4Haufp0830XXSMZdZnWipEtLMYE iVFtoCHC4vT8RySospgvXvPpBGEZdVHYOjKZtGBPaT2bghA0jAJIrUxAZsw3jSHk uN/4uZF8txWSRTn6pfu5KByh7HzrFWX65h173eR3euLZa7wbHrQPAi1AqOaBQNGv LlM2Uowl+8pqmgvAgcGKcA0Q9Pm3HH6iyWJKML3KResGKXCtG7NhSeb39vyFt8Tq q725kX6HFhfyikuaqU0/vQXE+fVfJAwSOzmDO4nQY4kMsLARjzrMk8czYY+zWIQ/ 7h6Rs4kbnvrom/R5Ryr3F1qNOch86/HxQaflHRgz3zYTIz3IblSEciigqijFGc8i fH52419ODoUkWxGkHgWD =8dIy -----END PGP SIGNATURE----- --=_milch.schokokeks.org-19211-1215178481-0001-2--