::::::::::::::::::::::::::
Home
Home Page
Method of generation of a code
Displays
Result of binding of the data
Systems of patterns of pages
Data acquisition without use XML
Data acquisition without use XML
Use JSON on the party of the client
Improved online shop
Review Ajax
Departure XMLHttpRequest
Processing of search servleta
 The search processing with help JavaScript
Problems of use Ajax
As it was more than once spoken, organization W3C is engaged mainly in development and creation of b
OASIS
Hands off PHP!
Automatic redirect (Auto Redirect) on PHP
Breaking of passwords becomes more accessible
Web2.0 Layout
Links
:::::::::::::::::::::::::

 

Hands off PHP!

Today to me in asju have thrown such material for reflection. Unfortunately in Yandex'? I and could not find a site with the original of the text, but nevertheless this text of the unknown author:


« Prevalence php is called by ease of his{its} installation on the server, the small quantity{amount} of paradigms incorporated in language (an imperative + nedo-oop) - » ease of studying and t.zh. That, what is it narrowly - nishevyj the language sharpened under a web, as against java, ruby, python, perl - general purpose languages, compare prevalence php and perl/python on a desktop and all begins on the places.. . By and large it not language, it only _preprocessor the text _, at him{it} no even the virtual machine, he is not adapted for long-running-processes, on him at all will not write stand-alone the server, there are no streams, it patalogicheski _ne pravil`nyj_ language (if nevertheless to consider{examine} it{him} as language) which is necessary to use clearly realizing this all his{its} abnormality - absence of modules (packages, nejmspejsov), absence vysokourovnevykh types of the data, the huge quantity{amount} global is not so system the named functions of a kind another_this_very_useful_function (in view of absence of modules), hashing of logic of job and the display, not promoting MVC, absence such useful vysokourovnevogo means as exceptions: All attempts as that to cultivate this business (Smarty, everyones ORM-?) make impression to put it mildly uses of means not to destination. php ideally approaches for not so big detached programnykh complexes such as forums, guest, various other webs - scripts, somehow for small CMS. For other more complex{difficult} enterprise webs - applications use PHP is possible, but is not proved in a kind of weak scalability (as there about klasterizacii, load-balancing'?), not modul`nosti, absence vysokourovnevykh means of language. In it sigmente the general purpose languages much better approach, allowing to write the applications which are carried out on special application server'?. And use PHP CLI it in general an outstanding distortion: »


So, on items{points}:


1) By what criteria the author estimated that is the programming language and that no. On ease of studying? So paskal` (delphi) too in you rub? Or narrow sharpening under specific goals too now translates the programming language in the category « everyones there processors ». Can then the Fortran too in you rub, on him all early only only to count - "nedojazyk"?


2) « Compare prevalence php and perl/python ». Also what? What under our universal Windows many programs on perl are written? And in fact while nobody cancelled monopoly Microsoft in the market of desktops. To job with Windows learn{teach} at schools, in SUSA, and even in higher educational institutions. But it already other subject. And if the example « anything » the question was about unix desktops, especially. Full system utilities written on PHP. They also work on ravnee with perl utilities.


3) « He{It} does not have even virtual machine » - at Si too there is no virtual machine (correct me Si coders if I have lagged behind a life). So even Si in you rub?


4) « On him at all you will not write stand-alone the server ». Yes well! It agree what to write on php server ON it bosh, but, nevertheless, quite real bosh. And what on Perl to write stand-alone the server less crazy idea?


5) As it in PHP no packages of expansions. And how PEAR? The author obviously at all « tried PHP ». Such phrase speaks about it as « absence such useful vysokourovnevogo means as exceptions ». In PHP there are exceptions (on extreme in the fifth version precisely is).


6) « Hashing of logic of job and display ». It is called, unsuccessful attempt to turn all from legs{foots} on ears. With what por presence of options is considered it lack. All professional php coders completely divide{share} logic and performance. And the opportunity to insert in HTML pieces of a code only helps in studying language. But, about ease of studying I already wrote.


7) « Somehow for small CMS ». The author obviously not in a subject of that is already written on PHP.


8) « As there about klasterizacii, load-balancing'? ». And how there on the bill load-balancing'? at a level of the server? Klasterizacija? Well: unless it is impossible to make a cluster of servers with PHP? I do not understand and here PHP: or here tried to pass an idea on absence in PHP means for programming parallel calculations. In pure{clean} Si they too no and what?


Such write about PHP offended C * (about C * it only my assumption, arguments while I shall leave at myself) coders.