Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40525 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3284 invoked from network); 15 Sep 2008 23:10:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Sep 2008 23:10:22 -0000 Authentication-Results: pb1.pair.com header.from=jochem@iamjochem.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jochem@iamjochem.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain iamjochem.com from 194.109.193.121 cause and error) X-PHP-List-Original-Sender: jochem@iamjochem.com X-Host-Fingerprint: 194.109.193.121 mx1.moulin.nl Linux 2.6 Received: from [194.109.193.121] ([194.109.193.121:53766] helo=mx1.moulin.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/A4-00923-C5BEEC84 for ; Mon, 15 Sep 2008 19:10:20 -0400 Received: from localhost (localhost [127.0.0.1]) by mx1.moulin.nl (Postfix) with ESMTP id 36A77286F98; Tue, 16 Sep 2008 01:10:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at moulin.nl Received: from mx1.moulin.nl ([127.0.0.1]) by localhost (mx1.moulin.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Olb4jUFDhUcG; Tue, 16 Sep 2008 01:10:06 +0200 (CEST) Received: from [10.0.13.104] (ip129-15-211-87.adsl2.static.versatel.nl [87.211.15.129]) by mx1.moulin.nl (Postfix) with ESMTP id 1FA88286F88; Tue, 16 Sep 2008 01:10:06 +0200 (CEST) Message-ID: <48CEEB4D.2050505@iamjochem.com> Date: Tue, 16 Sep 2008 01:10:05 +0200 User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Vesselin Kenashkov CC: Karsten Dambekalns , internals@lists.php.net References: <66DC865A-1910-46E4-AEB5-37BE62D2417A@typo3.org> <261daaa10809151520s6c3f5adfld10004d8c408f301@mail.gmail.com> In-Reply-To: <261daaa10809151520s6c3f5adfld10004d8c408f301@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Reply on "Who is using namespaces in PHP already?" From: jochem@iamjochem.com (Jochem Maas) Vesselin Kenashkov schreef: > Hi, > > At our company the majority of the projects in the last 4 months are using > namespaces (we can afford using dev version of php, because we host the > projects). > Just to add my +1 into the count. care to elaborate? what are your experiences? have you run into any trouble? have you developed a list of do's and dont's? (as Karsten has) > > Vesselin Kenashkov > > On Mon, Sep 15, 2008 at 5:26 PM, Karsten Dambekalns wrote: > >> Hi. >> >> Lukas asked on his Blog, so here goes my answer. >> >> We switched to namespaces last week for FLOW3 and all related packages. See >> http://forge.typo3.org/repositories/revision/21/1210 for the needed >> changes and >> http://forge.typo3.org/wiki/flow3-overview/Notes_on_using_PHP_namespaces for >> some notes on the implications. >> >> Currently we don't have any problems with use statements, as we still have >> fully qualified names almost everywhere, thus autoloading works as expected. >> >> Still, looking into the future I'd love to see an enhancement as proposed >> by Greg in http://marc.info/?l=php-internals&m=121527668606247 plus some >> way to get rid of having to use single classes if I could use some wildcard >> instead. >> >> Regards, >> Karsten >> -- >> Karsten Dambekalns >> Gimme Five! >> http://typo3.org/gimmefive >> >> >> >