Migrating OOP Libraries and Frameworks to PHP 5.3
June 30, 2008 by Jon
Over at Phly, boy, phly, Zend Framework coder Matthew Weier O’Phinney, talks about issues with implementation of namespacing in PHP 5.3 and the coding standards of Zend Framework.
The issue is, that the PHP parser does not allow class Abstract, neither interface Interface as both “abstract” and “interface” are reserved keywords. So Zend suggests prefixing interfaces with “I” and abstract classes with “A”. Hungarian notation for classes and interfaces.
It’s definitely a good read if you are looking into using namespacing in PHP 5.3 and what issues it may bring up with you code. Read it now »
No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URI


