Click here to Skip to main content
15,886,075 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
what is the importance of php?
Posted
Comments
bbirajdar 11-Nov-13 1:11am    
PHP helps people earn a lot of money as PHP programmers

For other details you can google...
enhzflep 11-Nov-13 1:24am    
:laugh:
Can't fault that answer. Perfectly correct and humorous too. +1
Sergey Alexandrovich Kryukov 11-Nov-13 1:34am    
I like the answer by aspnet, too. And, humor aside, it makes some serious sense.

However, I happened to write more serious "answer" (there cannot be a "real" answer, I believe, because this is not even a correct question, just shared some thoughts).
—SA

This is just my own opinion (and anything else would make no sense, because "importance" is a purely social term, any "objective" answer is impossible):

There are many weak or lazy programmers, and workers in general, who don't want to learn much, and do not understand that if you want to get something good, it's never too easy. That's why some sloppy, small and rudimentary tools like PHP become sometimes very popular. There is a nothing really good about PHP, except just few things: it is extremely easy to learn to the extent where you can start making some application, and also it is quite light-weight. At the same time, it is rudimentary, don't follow strict programming principles, with no fresh or elegant ideas, a lot of an ad hoc tool. There is nothing special about this language, not a single interesting feature, but a lot of really obsolete techniques like modularity based in inclusion. And nothing specially attractive.

But once the language got some popularity in some quick and dirty work, another powerful factor came into play: unlike other server-side technologies, it comes by default even with the very cheapest (or even free-of-charge) hosting plans. This economic factor makes PHP attractive: sometimes you want to have a minimally supported Web site at really low cost, but you cannot create it without server-side programming at all: you need at least some communication page, or a block engine, or a minimal chat, or stuff like that. For such functionality, you could tolerate PHP for a while, until you complete the job. Well, it could be worse. Actually, many create really serious big work with PHP, not because it's good, but due to its low cost and availability of many free components written in it.

—SA
 
Share this answer
 
v3
Comments
enhzflep 11-Nov-13 1:45am    
Gets my +5.

Well explained as always, historical notes included for completeness.

You don't get to consistently be #0 by sitting on your hands! (Bloody hell Sergey, you use English better than many/most(?) of the natives) :laugh:
Sergey Alexandrovich Kryukov 11-Nov-13 1:59am    
Thank you very much.

Your compliment about my English is very pleasant and important for me, because I don't have enough feedback on the quality of English (perhaps you are aware that this is the behavior very typical for English-speaking peoples, who majorly ignore mistakes in English; not all people are like that; in contrast, in Russia, people would gladly pick the slightest signs of not quite authentic Russian and make fun of it, even if their own speech if far from perfect :-).

However, I would highly prefer to receive more criticism. I don't feel 100% comfortable and often do a good number of mistakes which are more then simple typo, but because some things are not 100% intuitive to me, so I would like to master more of English...

—SA
enhzflep 11-Nov-13 2:29am    
You are most welcome Sergey.

Well, your mastery of the language is what I perceive to be fact - and (I believe) it's important to tell people what we think of them. Certainly, there are times when you may choose a word that seems a little odd, but the intention is, I think, always clear and obvious. If not for your username and my knowledge of your heritage, I would rarely, if ever, realize that you're a non-native English speaker. I certainly would be proud to use another language as well as you use English.

There have been times when I pondered advising a correction, but feared that doing so would be seen as hostile, smug or diminutive. I will certainly keep your desire for fair-minded critique in mind in the future when I spot a word/grammar construct that seems a little unnatural.

Simon.
Sergey Alexandrovich Kryukov 11-Nov-13 2:57am    
Thank you very much, Simon.

Please just keep in mind: if you see some language problems and find it possible to point out or suggest a fix, and feel like spending some seconds of your time for that, I will be very grateful.

If you really feel concerned about looking hostile or something, due to possible critique, it means that we fail to support proper culture on this site. Indeed, I see many members here who cannot adequately use the benefits of being criticized, and, instead of being grateful, some even fall in some dirty scandal, jumping into personality issues and accusations. (Apparently, as a matter of rule, the most illiterate or stupid people are the most intolerant to criticism; this is quite explainable: if someone is intolerant to criticism, such person fail to learn to be smarter... :-) But people can really grow in skills only if they receive and adequately process feedback from other people, negative being not less important than positive. This way, the skill of listening to negative (but correct) comments is an important prerequisite to growing other skills... :-)

—SA
bbirajdar 11-Nov-13 2:01am    
I agree with Sergey. But I have seen many PHP supporters boasting about how the facebook is built in PHP.. Is there anything specific reason FB preferred it?
PHP is a server language this means that the statements written in the language are executed at the server by a PHP engine and eventually translated to the client (web browser). There are other languages who played the same role and many of these provide better conditions for the programmer in terms of debugging, legibility, readability, etc. PHP is extremely dynamic this makes it difficult to test and find errors.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900