Home > Article > Backend Development > PHP Beginner's Road 2_PHP Tutorial
b>Why choose PHP
2. Competitors: ASP, mod_perl, JSP
There are many technologies used to implement interactive dynamic web pages, among which CGI, also known as Common Gateway Interface, is an external program A standard programming interface with the WEB server, but CGI programs bring too many shortcomings; Perl solves the problems in CGI very well and is used to drive complex WEB technology; Microsoft's ASP (Active Server Pages) The emergence of ASP, with its easy to use, easy to write programs and strong support of microsoftware, has suddenly become the darling of many professional programmers and non-professional programmers; Middleware and Allaire's Cold Fusion is another solution , and Cold Fusion has a proven reliable search engine component; JSP is a new generation website development language launched by Sun Company, etc. There are so many dynamic WEB technologies, you may ask: "Why should I choose PHP?"
Before answering this question, let us first take a look at the advantages and disadvantages between ASP, PHP and JSP.
2.1 About ASP
ASP is loved by many friends due to its simple functions and practicality. Coupled with the strong support of MS, it can be said to be one of the most popular languages for website development nowadays. With the help of MS's Com+ Technology can realize almost all functions that can be realized in C/S. It can be said that it is indeed quite competitive. The code implementation of ASP is also very simple. The InterDev provided by MS is based on RAD, making the development of ASP popular all over the country overnight. But its disadvantage is that due to MS's long-term domineering style, it can only run on MS platforms, so it is difficult for people to easily accept it in critical applications.
2.2 About JSP
JSP is a new generation website development language launched by Sun. It completely solves a common problem of ASP and PHP - script-level execution (now PHP4 has also been compiled with the support of Zend) Run). With its extraordinary achievements in Java, Sun Company has made Java a new fruit in addition to Java applications and Java Applets, which is Jsp--Java Server Page. Jsp can complete powerful website programs with the support of Serverlet and JavaBean.