News Feed
Sections




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

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

Hasin Hayder's Blog: Creating Thumbnail of WebPages using WebThumb API

Zend Developer Zone: AJAX Chat Tutorial Pt 5: Javascript, Sending Chat Messages, Screen Name Changes

DevShed: Enhancing a URL Handling Helper Class in PHP 5

ZendCasts: Using Zend_Cache to speed up Web Service calls

Adam Lundrigan: Quick-and-dirty ZF2: Zend\Navigation


Community Events





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


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

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