Compared to Java from the evolution of simple to complex, PHP loyal to easy to learn the original flavor of the insistence by the vast number of developers welcome, in recent years, the momentum rose, and simple is power, this sentence applies to the recent emergence of PHP, it is not suitable. Frankly speaking, originally thought it would not be too powerful, see its recent growth and strong, direct attack Java Camp lost in the business, let people to it.
Marc Andressen, the former CEO of Netscape, predicted at the zend/php convention that a simple, easy to learn description of PHP would be more developed for Web applications than Java, and that some 22 million sites worldwide use PHP, citing CNET's report in Taiwan. And the number is still increasing steadily.
Why is PHP so popular? I think simple and easy to use is the biggest reason. If the site is just a portal for users to search for information, on the internet there are many ready-made, free, easy to get, and have done the website software, such as calendar, website management, news, registration system, electronic newspapers, weather forecasts and other free application modules for download and installation use, so good things, why not? And as long as buy a book, installed, simple set up a discussion area, do not write any program, this is not a program experience for people is a good entry point, but also in line with the needs of small and medium-sized low-cost building sites. As a Java person, PHP's channeling gives me three inspirations:
WEB Development: The way to survive in PHP
Can't these web apps Java do that? PHP sandwiched between the JSP (JavaServer page) and ASP (Active Server page), to be honest, there should be no chance of survival, because their difficulty, concept and structure, programming grammar, these three differences are not; If you look at it from a flexible point of view, ASP can call COM + components, JSP is to call the Java beans components, from the development of extensibility and the expansion of the system, are much better than PHP, software application space is also relatively broad.
Of course, these languages, because of their own expertise, have their own development, and PHP in many Web development tools market has not become worse, but become relatively large, software is free although it is one of the main reasons, but I think more importantly, the PHP community is very attentive to the development of dynamic Web technology, and this point against, And if you want to learn the ASP and then learn VB, learn component development, Java field in addition to JSP, can also be used as Severlet, Severlet will want to say that the EJB together, so the system will become more complex, the more complex to build a higher learning threshold, so that the learning will be low, talent less , the relatively high cost, directly affect the adoption of the intention of enterprises.
Now the software world is not only the application of contention, but also a platform of the tug of war; in the past, developers will compare which programming language is better, combination language, Cobol, PL1, Ada (Artificial intelligence), Lsper, C and other languages come out, until the last only C language can stay, Even pscal need to have a Delphi to survive; If you want to ask what the popular programming language features, these characteristics are really difficult to generalize, such as development flexibility, powerful, limited, easy to develop, high use, each language has these characteristics inherent, If these conditions are a key factor in the survival of the programming language, I think none of the above languages will end, but with the evolution of technology and the changes in the environment, languages that do not apply or do not meet the needs of developers are phased out.
meet the needs of small and medium-sized enterprises: free, easy to learn
However, in the noisy technical space, the only common point is that everyone supports and actively participate in the development of the Internet, and the PHP community focused on the development of network mainstream applications, and these templates for free users to download, these application templates with ASP or JSP development, absolutely can be done, but because no one to do, Therefore, the application software made by ASP or JSP has to be sold, since it is business behavior, users would rather choose not to spend money, easy to use, but also have the original code can be modified software, PHP combined with other open source code such as Apache, MySQL and Linux, the entire population will grow stronger.
I'm sure PHP will do a better job, but the main part of it-dynamic web technology, if the JSP or ASP to catch up, its future will be limited, after all, PHP is still no way to deal with the back-end of a large number of operational mechanisms, its efficiency and rigor will be more challenged; large operation of operations must be Java Beans to calculate, if it is. NET platform is computed using. NET Componet.
Conversely, if the use of JSP or ASP to develop Web application software, can catch up with PHP performance? I think as long as in 1-2 years can catch up, these software development will not be free, this is a difficult point. Currently seen in the market JSP or ASP application modules are mostly paid for use, while ASP and Windows Server bundled with the Web server IIS and database SQL Server, this purchase or hundreds of thousands of, for small and medium-sized enterprises is a huge burden.
Java Front-End network applications still need to work hard
Java-Extended system architecture from Java 2 EE, Java 2 se to Java 2 ME, the power of information from the enterprise back-end to the desktop, each handheld device, even to each chip card, the use of a very broad; web technology is only 10% of Java technology, Web technology is the whole of PHP, PHP developers are fully committed to the development of relevant applications, so can make the best Web page rendering effect, Java is not to do these effects, but the resources devoted to web development is relatively small, and to a deeper and broader, more malleable future development, it is no wonder some people say that Java increasingly difficult, more complex.
The purpose of this article is not to draw PHP developers to the Java camp, nor is it encouraging Java developers to work in Web technology in the future, of course, if the Java people want to use their familiar language to the Web page technology development to and PHP comparable to the point, we are happy to see it, because, He made up the Java originally ran in the front, but neglected to cultivate a small garden.
Website has been a necessary tool for business development (must have), each company according to its own requirements to regulate the Web site mechanism, for the specifications are not stringent requirements, customer requirements or no IT personnel enterprises, encourage them to use PHP application module, at the lowest cost, without changing the program of the premise, Introduction of several practical application modules, in response to the company's immediate needs, however, the customer needs high demand, a large number of information exchange or trading mechanism of enterprises, it is necessary to find Java vendors.