View Single Post
  #4 (permalink)  
Old 03-26-2009, 05:30 AM
Easywebdev's Avatar
Easywebdev Easywebdev is offline
WebProWorld Veteran
 
Join Date: Apr 2004
Posts: 310
Easywebdev RepRank 1
Default Re: Is PHP a powerful tool?

Quote:
Originally Posted by arnoldsmithh View Post
PHP, one of the most powerful Server side web technology, is spreading in web development circle like a forest fire. You can find trillions of PHP webpages over the internet.
PHP evolves from C language, and provides the same functionality as the C.
The great advantage of PHP over other web development technologies is that it is easy to learn, easy to manage and provide rapid development.

please feel free to share your thoughts regarding PHP and other web technolgies you like.


opensocialfactory.com
PHP did not evolve from the C language. C is a compiled language. Php is an interpreted language which is written in C, as is Perl, Ruby etc. Completely different thing.

PHP is easy to learn but the language itself is not a RAD tool. PHP frameworks like codeigniter, cakePHP, symfony, the zend framework etc all aid in Rapid Application Development.

Quote:
Originally Posted by bobitza
I believe that the "pure OOP" approach started in PHP 5 will fuel PHP growth as the preferred web programming language.
I have been developing with php for almost 8 years now and am almost ready to drop it and buy a few python books due to some of the idiotic changes coming in 5.3 regarding the implementation of namespaces.

The php group decided that the namespace seperator would be the backslash \ due to a collision with the intended seperator :: and static class function/constant scope.

A thoroughly ridiculous idea which has the php community up in arms. The other is something that may not yet come to pass but is scheduled is that when using any namespace then php functions/classes/constants must be prefixed with the namespace seperator to signify their global access (ie, $iterator = new \ArrayIterator; throw new \Exception etc.) Ridiculous.

I fear the PHP ship is heading for the rocks, whether they can turn it around or not I'm not sure. PHP 5.3 with these features just reached RC1 status and should be available soon.

I really hope that for php 6 they totally drop all backward compatibility and redo the language to be fully namespaced and consistent.

I would like to see namespaced functions such as String::cat, Array::Iterator etc that all take parameters in a consistant manner.

As things stand some functions take parameters in a needle/haystack manner whole others in the same category "think strings" take a haystack/needle set of parameters.

5.3 was supposed to be the version that brought php up to enterprise standard. I have read the php internals and the transcript of the IRC chat that led to the use of \ and am thoroughly disappointed in the direction things are going. I hope that with the current furore across programming forums/blogs that Rasmus Lerdorf steps in and says put namespaces back to 6.0 until they iron out the current problems with the namespace seperator and reserve namespace names such as PHP, String, Array etc for internal use.

Pushing this forward in 5.3 is a huge mistake that is sending excellent developers to other languages.
__________________
"I have not failed. I have found 10,000 ways that don't work" - Thomas Edison.
"The secret to creativity is knowing how to hide your sources" - Albert Einstein.

Last edited by Easywebdev; 03-26-2009 at 06:07 AM.
Reply With Quote