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

PHPro.org: Calculate Friday The 13th With Datetime Class

Sebastian Göttschkes' Blog: Testclasses for symfony2

DevShed: Defining a Model Class for Handling Views with CodeIgniter

Stefan Koopmanschap's Blog: Tip: use clearly readable variable names, and constants!

Chris Shiflett's Blog: CakePHP Visits New York


Community Events





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


release interview update symfony podcast series introduction zendserver framework api install deployment language laravel tips community unittest library opinion package

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