News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

David Coallier's Blog:
Namespaces part 4.1 (What namespaces don't fix (part 1))
October 03, 2007 @ 14:36:00

David Coallier continuing his look at the upcoming namespace support in PHP, has posted some a bit more negative than some of his previous posts - this time it's about what namespaces don't fix.

Anyways, after posting a few articles about namespaces and now that the patch has been ported to the php 5.3 branch, people are actually starting to use it. The side effects of people (without too much knowledge or thinking about the implementation of namespaces) is that they are actually realizing that namespaces are not the promised land.

To illustrate his point, David gives something that namespaces just won't fix - long class names. It doesn't matter if you're using them in the Project_Package_Class or (with namespaces) Project::Package::Class format, you're still stuck with the long names. Keep an eye out for more similar articles from David to demystify other incorrect namespace impressions.

0 comments voice your opinion now!
namespace support long class name fix namespace support long class name fix


blog comments powered by Disqus

Similar Posts

Jordi Boggiano's Blog: Multiton base class

PHPit.net: Creating a PHP Settings Class

Rob Allen's Blog: A primer on PHP namespaces

Andrey Hristov's Blog: Replacing mysqli's Connection, Result and Statement classes

Chris Hartjes' Blog: Scope Is Not a Mouthwash


Community Events





Don't see your event here?
Let us know!


series install wordpress community developer podcast application symfony unittest threedevsandamaybe api library interview configure language laravel introduction release list code

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework