PHP beginners (2)

Source: Internet
Author: User
Why should we choose php2.competitors: ASP, mod_perl, and JSP? there are many technologies used to implement interactive dynamic web pages. CGI is also called CommonGatewayInterface ), it is a standard programming interface between an external program and a WEB server, but there are too many disadvantages of CGI programs. Perl is a good solution to CGI problems. "> <LINK

Why PHP?

 

2. competitors: ASP, mod_perl, JSP

Many technologies are used to implement interactive dynamic WEB pages. CGI, also known as the Common Gateway Interface, is a standard programming Interface between external programs and WEB servers, however, CGI programs have many disadvantages. Perl solves CGI problems well and is used to drive complex WEB technologies. the emergence of Microsoft's ASP (Active Server Pages, ASP has become the darling of many professional programmers and non-professional programmers with its easy-to-use, easy programming, and powerful support backing from Microsoft; middle ware and Cold Fusion of Allaire are another solution, and Cold Fusion has a proven and reliable search engine component. JSP is a new generation of site development language launched by Sun. With so many dynamic WEB technologies, you may ask: "Why should I choose PHP ?"

Before answering this question, let's take a look at the advantages and disadvantages between ASP, PHP, and JSP.

2.1 About ASP

ASP is favored by many friends in terms of its simple functions and practicality. with strong support from MS, it can be said that it is one of the most popular languages of the current website. with the help of MS Com Technology, almost all functions that can be implemented in C/S are indeed quite competitive. ASP code implementation is also very simple, MS provided InterDev on the basis of RAD, so that ASP development overnight fire across the north and south of the river. However, his disadvantage is that, due to MS's long domineering style, he can only run on the MS platform, so it is difficult to easily accept key applications.

2.2 about JSP

JSP is a new generation of site development language released by Sun. it completely solves a common problem of ASP and PHP-script-level execution (PHP4 is now supported by Zend, compile and run the program ). with its extraordinary accomplishments in Java, Sun has made a new achievement in Java applications and Java applets, namely Jsp-Java Server Page. Jsp supports powerful site programs with the support of Serverlet and JavaBean.

As far as I know, JSP is based on Java, so Java programmers can easily start coding. ASP is a general engine and supports multiple languages. However, it is the default and most commonly used VBScript. Mod_perl is as powerful as Perl, but faster.

Which language is better for ASP, JSP, PHP, etc? Different people have different opinions. However, we must be clear: For ASP and JSP, do you know how expensive they will be and how expensive and powerful hardware they need. If you have any neutral opinion (for example, it is not affected by the millions of dollars of SUN and Microsoft), please let me know by the way.

2.3 about PHP

Adhering to the GNU style of Linux, PHP quickly becomes one of the most widely used site production languages in the world with the help of open source code. By referencing the concept of classes in the form of C, the code can be easily reproduced. In addition, he works closely with Linux, Apache, and MySql, and the key applications are no problem (the famous Sina is using Php ). At the same time, the official version of PHP's fourth-generation Zend (PHP4) core engine has been released, and the core of the entire program has been greatly improved, making PHP program execution faster. The efficiency of PHP after optimization is better than that of traditional CGI or ASP Programs. Because PHP is free, anyone can visit the php web site and download the complete source code. More importantly, the code written in PHP can be executed faster, and PHP code with the same function can be implemented, you can run it on different WEB servers and operating systems without changing the operating system. With this in mind, you have enough reason to choose PHP.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.