Comparison between ASP, PHP, and JSP

Source: Internet
Author: User
Today, with the rapid development of the Internet, people are constantly innovating, including the development of web pages and websites. The original HTML hyper-text languages cannot fully meet our webpage requirements. What we need is a dynamic and interactive website. In this way, we can communicate with a large number of netizens and users. Simple or complex VBSCRIPT and JAVAS

Today, with the rapid development of the Internet, people are constantly innovating, including the development of web pages and websites. The original HTML hyper-text languages cannot fully meet our webpage requirements. What we need is a dynamic and interactive website. In this way, we can communicate with a large number of netizens and users. Simple or complex VBSCRIPT and JAVAS

Today, with the rapid development of the Internet, people are constantly innovating, including the development of web pages and websites. The original HTML hyper-text languages cannot fully meet our webpage requirements. What we need is a dynamic and interactive website. In this way, we can communicate with a large number of netizens and users. Those simple or complex vbscripts and JAVASCRIPT also make the webmaster feel annoying. If you press right-click and then press Yizheng V, all your code will be exposed. We don't want this.

Then, since the appearance of the server scripting language, this has all appeared. CGI was very popular at first. Although it can be implemented in almost all languages, it is not very good with HTML, and it is difficult to update programs. We will not discuss it here. The server scripting language means that the specified program will be executed on the server, so you cannot see your source program. You can only see the HTML code as required by your program. This will be very exciting.

Next we will talk about three popular server-side scripting languages. ASP, PHP, JSP.

ASP is a "great" task of MS (Microsoft. The default scripting language is VB. I 'd like to know how simple VB is, so it's so easy to tell you about ASP, therefore, ASP is easy to use for those who have not learned the program. It supports powerful ms SQL database and ACCESS database with good performance. After all, it is a product of its own, while ASP is also an easy-to-use MS, so there is no uniformity. In this regard, PHP will look messy. ASP has many powerful components and may be developed by itself. This is better than PHP.

However, ASP also has many shortcomings. First, it can only run on WINDIW operating systems, which is somewhat overbearing. I think those LINUX and UNIX fans will not give up their hobbies. After all, we will talk about PHP and JSP later.

Second, ASP must be explained on the server side before execution can be performed. This is insignificant in some small programs. However, compared with some large and medium-sized sites, ASP cannot be executed quickly.

Finally, from a comparison, ASP occupies considerable CPU resources, which is a headache for a large multi-user interactive website, they often have to restart the machine repeatedly because the CPU resources are exhausted.

Many people say that MS has too many bugs, which are unstable and insecure. In fact, this is not the case for everyone. After all, there are too many users to find errors. However, MS's money view cannot be prevented. To run ASP services, you must buy its operating system. MS is too smart.

ASP is relatively good. It is suitable for small and medium-sized websites running on Microsoft operating systems. Of course, WIN2000 is the most popular. It is very suitable for some friends who have just been familiar with languages.

To challenge PHP and JSP, MS has developed a new generation of ASP + scripting language, which will appear in front of people with a brand new default language C #, and supports almost all of them, besides JAVA. (Apparently opposite SUN) and the speed will change dramatically. The change from the original interpretation language to the embedded language method is one of the reasons for the speed change. In addition, MS has also made many changes in porting to other platforms.

In short, ASP + is worth looking forward. After all, this is also the next generation of MS. NET Plan.

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.