News Feed
Jobs Feed
Sections




News Archive
SitePoint PHP Blog:
How to Use PHP Namespaces (Parts 2 &3)
July 15, 2009 @ 08:16:24

The SitePoint PHP blog has posted the next two parts of their series looking at using namespaces in PHP - parts 2 and 3:

In the second part of the series they build on the basics and look at importing namespaces into a script, aliasing them to a shorter, easier to use name and some rules to consider about name resolution.

The third part of the series (the last part) looks at the keywords the namespace functionality uses and how to autoload namespaced classes to keep their namespacing intact.

0 comments voice your opinion now!
autoload keyword alias import tutorial namespace


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Zend Framework Tutorial (Update)

Eric Lamb's Blog: Practical PHP Reflection

Stefan Mischook's Blog: Object Oriented PHP Tutorial Released

Phil Sturgeon: Is PSR-0 Shortsighted, or are you?

ServerGrove Blog: Deploying Symfony2 Projects on Shared Hosting with Capifony


Community Events











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


conference testing interview series language code development introduction zendframework2 community framework functional release database tool example podcast object composer opinion

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