News Feed
Sections




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

Cal Evans' Blog:
Zend's new namespace converter
March 29, 2010 @ 13:43:02

Cal Evans has a new post today looking at a recent release coming out of the Zend Framework project - a namespace converter to take the standardized naming schemes and convert them into PHP 5.3 namespaces on the fly.

Ralph works on a lost of stuff but my favorite is Zend_Tool. Every time Ralph releases a new version of Zend_Tool, he and I end up having an extended debugging session making sure that my zf twitter client still works. The other day however Ralph released something new. He announced that he had written a tool to take a library using the Zend (and PEAR?) standard for class naming '" My_Class_Name is actually MyClassName.php '" and convert them to PHP 5.3 namespaces.

Cal includes some sample code of this new tool in action on a section of the Zend Framework's ACL code. The output is automatically pushed out to an output directory based on rules defined either in an XML file or from the command-line when it's called. There's also a snippet with the command-line options for reference.

0 comments voice your opinion now!
namespace convert ralphschindler zendframework


blog comments powered by Disqus

Similar Posts

MaltBlue.com: Zend Framework - How To Implement RSS Feeds the Easy Way

Hasin Hayder's Blog: RSA Encrypting and Decrypting data with Zend_Crypt_Rsa Library

Matthew Weier O'Phinney's Blog: Proper Layer files when using Dojo with Zend Framework

Michaelangelo van Dam' Blog: Configuring Zend Framework apps for Windows Azure

Jason Gilmore's Blog: Thirteen Zend Framework Tutorials


Community Events





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


configure extension list api unittest voicesoftheelephpant podcast framework opinion community introduction language release series version composer symfony interview install laravel

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