| Hi..
Researchers at Fortify Software conclude that Java is more secure than other languages, but they warn that developers may inadvertently be introducing vulnerabilities into their own code.
Here are the major pitfalls and drawbacks of using PHP :
PHP has the dubious distinction of having the largest number of security holes of any tool in its class. This fact alone is enough for many organizations to reject it.
after 10 years of growth, PHP has become stagnant since 2005. This is very likely because people are now rejecting it in favor of other tools, as they have become available.
PHP does not support Unicode, so it's difficult to implement multilingual applications with it. A web framework that doesn't support Unicode is a parochial anachronism - WWW does stand for world wide web, does it not?
the PHP language has no formal specification. It was originally built informally, by a single programmer, who wasn't experienced in designing programming languages. (Evidence for this is the large number of security holes in PHP.)
many complain that the APIs are a mess - inconsistent naming conventions, functions of dubious benefit, synonymous functions, silent errors, and so on.
according to its creator, PHP was "not designed to win any beauty contests".
PHP doesn't use convention over configuration. Its creator states unequivocally: "I absolutely hate programming frameworks that lock me into a certain way of approaching a problem." This is in exact contradiction to modern tools, which embrace such conventions, since they save time and money.
PHP by itself isn't a Model-View-Controller framework. As a result, many PHP applications and examples suffer from a lack of separation of concerns. In the hands of an inexperienced programmer, using PHP by itself often leads to higher maintenance costs because of poor design. Thus, the use a of second tool, an MVC framework built on top of PHP, is almost always necessary.
Also, Java's infrastructure is a royal pain in the neck compared to PHP. If you're building a huge, complex application with a big development, the cost of Java's development infrastructure may pay for itself in better efficiencies elsewhere. As for delivery infrastructure, PHP is generally smaller and simpler, too.
__________________ Dedicated Servers - sales@hivelocity.net - 1-888-869-HOST(4678)
Award winning Managed Hosting - Dedicated Server Hosting
Managed Dedicated Servers. Reseller Discounts. 24/7 Impressive Tech Support.
|