The difference between asp.net, PHP and JSP

Source: Internet
Author: User
Tags php and linux

asp.net

Its universal language based compiled program, which relies entirely on virtual machines, has a cross-platform capability, except that Microsoft temporarily supports Windows only, but many foreign third parties have developed applications with UNIX-like virtual machines (such as mono), So that it can also run under the Unix-like platform. ASP.net is also the first time to compile, improve the speed of the program, and Microsoft for its encapsulation of a lot of controls to make it in the development of a bit like WinForm development, so easy to start, easy to learn powerful, but because of its interface and business logic is not completely separated, corresponding also produced a asp.net MCV development Framework, is also very popular in recent years, it is suitable for the construction of large-scale network applications, but in view of the high concurrency, large user groups of the processing capacity of the defects, cache-dependent instability, load balancing capacity is insufficient, so that it needs to build large-scale network applications need to use other assistive technology. Specific in the following posting will be elaborated.

Php

An embedded scripting language, similar to ASP, borrows a lot of C and Perl syntax, enables developers to get started quickly, and has more functions to call than perl,php, so that Web developers can quickly build a good dynamic web system, so most foreign hosts are equipped with linux+ Apache+php+mysql (note that all are open source for free, these combinations are individually called Lamp--〉linux+apache+mysql+perl/php/python). However, because of the congenital defects of its internal structure, which makes it unsuitable to write a large web site, PHP itself has no namespace (this is very depressing), and its runtime is the language engine to interpret the code of execution, which will be a discount on the efficiency of the site response. So PHP is very difficult to develop large projects and later maintenance

Jsp

Sun (Oracle acquired) the company launched a dynamic Web technology, the Java language as a scripting language, so that developers can quickly get started, although it is also a scripting language, but with PHP is essentially different, JSP code is compiled into a servlet and Java Virtual machine execution, This compilation takes place only on the first request of the JSP page, because it performs far more efficiently than PHP (unless you are doing deep optimizations on PHP, after all, Taobao, Facebook is written in PHP, things need to be relative). However, because of its business logic and interface code mixed into a pool, can not meet the requirements of large-scale applications, replaced by the MVC based Web architecture, which reduces the coupling of various parts of the interface and business logic separation, because it is more suitable for the construction of large-scale network applications.

The humble place also asked the great God to bring corrections.

Related Article

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.