note 86082 rejected from language.namespaces.definition by thiago

From: Date: Thu, 02 Oct 2008 13:01:55 +0000
Subject: note 86082 rejected from language.namespaces.definition by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-144974@lists.php.net to get a copy of this message
Note Submitter: info at thewebsiteguy dot com dot au ---- PHP Namespaces will be excellent. I write some strict OO n-Tier apps (as much as possible with PHP) so this will be good for separating layers. The only thing I'll add is that since I have been a C# programmer, I would have personally preferred name spaces to be encapsulated in {} and use an import or using statement OR FQ namespace for the class in the case of an ambiguous class. As an example I might create some classes I use to present the page (suffixed "Module"), and they relate to a CBO of the same name but with "CBO" as a suffix. Now I can have less classes to filter through in the IDE! Now if only we can have partial classes :P

« previous php.notes (#144974) next »