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

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 1)

IBM developerWorks: Understanding the Zend Framework,Part 4: When there is no feed, Zend_HTTP_Client

WaxJelly Blog: Simple PHP script using the YouTube API (with pagination)

Bruno Goncalves' Blog: Writting your first WordPress plugin

PHPFreaks.com: Sessions and cookies: Adding state to a stateless protocol


Community Events

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


feature voicesoftheelephpant extension laravel library api framework threedevsandamaybe series release laravel5 wordpress development introduction opinion community podcast unittest interview language

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