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

NetBeans Blog: PHP Namespace Support Screencast

Chris Cassell's Blog: Creating Magic Methods in PHP

Michael Kimsal's Blog: Another PHP bugbear…

ThinkPHP Blog: Spooky Action at not so much Distance

Ian Selby's Blog: Dynamically Add Functions to PHP Classes


Community Events





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


podcast framework api voicesoftheelephpant introduction opinion release series install language laravel bugfix tips list package community library symfony deployment interview

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