InformationResourcesCategories |
The Day PHP DiedPosted by Andy Koch in Software at 10:39 | Wednesday, August 1. 2007Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
The reason PHP has a "gajillion" functions is that it is meant to be a c-style scripting language. Originally it was designed to compete with other server-side scripting languages in use at the time like c, shell scripts, and perl. Hands down PHP beats all of these for rapid development, easy to learn, and most importantly: easy to debug.
PHP was never designed to be object oriented. The OO portions of PHP didn't really see the light of day till PHP4 and that was really just a hack-job of object oriented feel. PHP5 is the first workable OO PHP release. I enjoy the 'gajillion' function approach because it makes rapid development for extremely simple tasks a piece of cake. Coupled with a very good understanding of database abstraction layering and template systems like Smarty, PHP is damn powerful. Yes of course, other languages are better designed for frameworks, such as the whole Ruby on Rails trend, but you need to understand that PHP was born in 1994... long before most of the people in America ever accessed the Internet for the first time. At that time it was only meant to replace some perl scripts. Grandpa Perl, as a scripting language, is dead. PHP, now a teenager, is dying. Ruby on Rails is still a little toddler crawling across the living room floor. Give it 5 years and we'll see if its still around.
#1
on
2007-08-01 22:37
good point Ben,
You bring up another strong point of PHP, it is good for "rapid development for extremely simple tasks". I should point out I'm not necessarily opposed to the 'gajillion' function approach, I don't prefer, but that in itself doesn't really offend me. It's the inconsistency in the naming of the functions that drives me nuts. Using the String library as an example, some are name "str_xxx", others "strxxx", and still others dispense the "str" prefix altogether.
#2
on
2007-08-02 08:35
This is why the PHP documentation is as you stated "world class". It has to be. The documentation being as great as it is makes PHP functions that much easier to find and use. Coming from a quasi web developer with little experience before PHP, I was amazed at how easy it was to learn.
[...] is written in the popular language PHP (Andy may disagree) and uses a MySQL [...]
Only registered users may post comments here. Get your own account here and then log into this blog. Your browser must support cookies.
|
QuicksearchPollsDid you buy an iPhone 3G?
Archives ArchivesLogin |