New car Novice on the road of PHP Novice (ii)

Source: Internet
Author: User
Why to choose PHP
2. Competitor: asp,mod_perl,jsp
There are many techniques for implementing interactive Dynamic Web pages, in which CGI is also known as the Universal Gateway Interface (Common Gateway Interface), which is a standard programming interface between external programs and Web servers, but there are too many drawbacks to CGI programs , while Perl solves the problem in CGI, and is used to drive complex web technologies, and Microsoft's ASP (Active Server Pages) appears to make it easy to get started, The easy-to-write program and the strong support backing of Microsoft make the ASP suddenly become the darling of professional programmers and non-professional programmers; cold fusion of Middle Ware and Allaire is another solution, and cold Fusion has a proven and reliable search engine component, and JSP is a new generation of site development language that Sun has launched. With so many dynamic Web technologies, you might ask, "Why should I choose PHP?" ”
Before answering this question, let's take a look at the pros and cons of asp,php and JSPs.
2.1 About ASP
ASP because of its simple functional utility and other aspects by the vast number of friends like, coupled with the strong support of MS, can be said to be one of the most popular language site, he with the help of MS COM + technology, almost can achieve in C/s can achieve all the functions, can be said to be quite competitive. ASP code implementation is also very simple, MS provides InterDev on the basis of RAD, so that the development of ASP in the overnight fire across the north and south. But his disadvantage is that because MS has long been a domineering style, he can only run on the platform of MS, so in the critical application of the people are difficult to accept easily.
2.2 About JSP
JSP is Sun's new generation of site development language, he completely solved the current asp,php a common problem-script-level execution (now PHP4 is also supported by Zend, the implementation of the compilation run). With its own expertise in Java, Sun has a new fruit in Java from Java applications and Java applets, which is Jsp--java Server Page. JSP can complete powerful site program with the support of Serverlet and JavaBean.
As far as I know, JSP is Java-based, so Java programmers can easily start coding. ASP is just a generic engine with the ability to support multiple languages, but the default is the most common or VBScript. Mod_perl is as powerful as Perl, just a little faster.
For ASP, JSP, PHP, and so on, which language is better? Different people have different views. But one thing we have to be clear about: For ASP, JSP, etc., do you know how expensive it is to buy them and how expensive and powerful hardware they need. If you have a neutral view (like not being affected by sun and Microsoft's million dollars), please let me know by the way.
2.3 About PHP
PHP is adhering to the GNU style of Linux, with the help of open source, making him quickly become the world's most widely used site production language. With the form of C + +, referencing the concept of a class makes the code repeatable and simple to apply. Coupled with his close collaboration with Linux,apache and MySQL, critical applications are no problem (the famous Sina is PHP). At the same time, the core engine of PHP fourth generation Zend (PHP4) has been released, the core of the entire program has been greatly improved, so that PHP program execution speed becomes faster. PHP's efficiency after optimization has been better than traditional CGI or ASP programs. And because PHP is free, anyone can access the PHP Web site and download the full source code. What's more: code written in PHP can be executed faster, with PHP code that implements the same functionality, and can be run on different Web servers and different operating systems without changes. With that in mind, you already have enough reason to choose PHP.

The above introduced the car novice on the road to new PHP (ii), including the car novice road aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • 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.