A Twist In Namespaces

Monday Aug 31st 2009 by DatabaseJournal.com Staff

PHP continues to evolve with version 5.3 and the addition of namespaces. Explore this exciting new feature with our guide, Marc Plotz.

[From PHP Builder]

With PHP5.3--which is in itself a precursor and somewhat of a teaser for PHP 6--comes something rather new to PHP: Namespaces. As object-oriented developers well know, the point of object-oriented development is to remove ambiguity from development and data access items. What this actually requires is finding common functionality and implementing them in a reusable framework--usually as classes. However, even the widest scope implementation will eventually start running into issues with naming conventions. This is where namespaces really shines.

The article continues at http://phpbuilder.com/columns/marc_plotz008282009.php3

Mobile Site | Full Site