PHP!?

You know, it doesn't matter what language you code in. PHP is an excellent proof of that, since the language is horrible, but people still make excellent web-applications in it.

Armin has stumbled upon this class from the Zend framework:

<?php
class Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive
  extends Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum

PHP has no nameclasses... That's also the reason why all string functions are prefixed.

Code · Design · Stuff 10. Dec 2007
4 comments so far

Actually PHP now supports name-spaces, however the Zend Framework is not the best example of a well-written framework, that kind of code is too complex with no reason, you can do much better than that with PHP, even if you have no name-spaces.

Anyway, i agree that it doesn't matter what language you code in.

Zend Framework is written in JAVA style, witch is not very good idea in PHP world(I think). But the language it self is very good and powerful, and not so easy as it looks at the beginning.
p.s. I think soon it will have name-spaces (or hope so)

Namespace will be introduced with PHP 5.3. hurray \o/
source :
http://devzone.zend.com/articl...

Even if not PHP is IMHO a good language, I'd like to see multiple inheritance and an strong typing option though :)

PHP is fairly ubiquitous, there is a lot of software written using it. I think it's everywhere-ness is partially due to its permissive PHP license. Though the PHP license is incompatible with the GNU GPL, and is a non copyleft license.

Post a comment
Commenting on this post has expired.
© 2000-2009 amix. Powered by Skeletonz.