Why doesn't ASP be more popular than PHP?

Source: Internet
Author: User

Reply content:

In fact / http ASP It's a strange thing to be more popular than PHP.

PHP is a simple and powerful scripting language designed for Web development, a language specifically designed for web development, and the most widely supported and popular in the existing Web back-end development language. When PHP was born, there was no / http ASP , its main competitor is the ASP and CGI stuff. Popular is simply a normal thing, after the popular open, / http asp.net/sevlet/jsp These competing technologies are built on the heavy-industrial OOP language and are no better than PHP on a fast-developing website. Ruby is already a popular internet in PHP for decades before the emergence of the popularity of resources and the extent of the popularity of natural hard to shake PHP status.


Price, platform, open source, ecological god horse is basically a rip. No, uninvited.

For the Internet, PHP does have a very big advantage, whether it is to re-write a new station, or directly take off-the-shelf products two times development, PHP has very high development efficiency, this is really / http ASP Or Java can not match. Can say, PHP is because of the internet and the birth of the language, but the industry has specialized, PHP's strength is to do the website, the weak point is to do the system, with the corresponding, / http Asp.net/java The strong point is to do the relevant business system, so many companies in the internal system is to use them to develop, this is not the main can see, so also produced a certain illusion.

Second, for the other answer the main said / http ASP Servers expensive, SQL Server and expensive performance is not good, not open source and so on, I would like to add, er ... Answer main Windows 3.1? The handsome person has already made money on/ httplinux.net , and the ugly man has not heard of what mono is., even if the CLR is using the MIT protocol to open Things is not open source, you have not adopted any open source protocol Java what to do? (Quick escape ...) PHP is popular, indeed because PHP is the best Web language available.

PHP at present a lot of problems, function naming confusion, namespace, feature compatibility poor, now how much code is still running on the 5.2, Zend and like to hide try Tuck, leading to the community is depressed-but this is completely negate the light of PHP itself.

Language features don't elaborate, once php3 times register globals let form submit how much convenient, file upload how convenient, at that time ASP still eat excrement, / http ASP No shadow, where is the influence? Once web==php.

It technology update very fast, big waves scouring the sand, a language if can fire over five or six years, there must be its merits. PHP or Linux, or GitHub, its popularity is entirely open source of the freedom Free value embodiment. Also, price free is a side factor. I just want to throw up the groove / http ASP Servers expensive, SQL Server and expensive performance is not good, not open source, incidentally spit slot IoE clunky. Open source, a CLR, a bullshit thing? Mono is a bullshit toy? Open Source A / http ASP is MVC a big event? Same machine, you are equipped with / http ASP and PHP to try separately, how much can be anti-concurrency? In addition to MS There are several scale stations used / http ASP

As a competent glue language, choose PHP means to choose an ecology, lamp is not white, of course, now has a better performance of Nginx. Site is not pieced together a set of code two or three sets of templates to be done, more also to consider concurrency, load, IO, queue, cache, distributed storage. etc The charm of LNMP is that any link is not satisfied you can write your own extension, do custom, build wheels, which are not available in the MS system

Bottom line: PHP is lighter than Java, faster than Ruby, more efficient than python, and easier than Nodejs debugging
/ http ASP , I really don't see it in my eyes. PHP can also be run under IIS, isn't it? PHP popular just at the beginning, there are / http ASP What's up? Development of ordinary Web site, PHP preferred. General small and medium-sized website, with PHP fast and good.
Development of enterprise network applications, preferred / http ASP 。 In a database application with business processes, / http ASP More advantage.
Development of large Web sites and applications, Java preferred. Large applications that require high-end servers, clusters, and server extensions, and a more mature Java solution.

Overall,. NET is more popular than PHP。 PHP has developed a website that the public can often access. and. NET-developed ERP is only used in the industry. This is like the front desk or the doorman is more likely than the administration to mix face familiar, but the executive pay and rights are greater.

Coding efficiency / http ASP > PHP > Java;
Deployment Efficiency php>> / http ASP >= Java;
Operating Efficiency Java = / http ASP > PHP;
Large solution Java >> PHP >= / http ASP

Although the number of comparison, the global use of PHP Web site most. But Java developers are far more than / http ASP With PHP and Java used for large server products, there will be hundreds of of people involved in the project. In a specific enterprise application area, it is / http ASP More popular.

A Web site with a more complex business rule, with the same functionality as a reference quote for different language development:
JSP 750,000

/ http ASP 350,000

PHP 500,000


As you can see, in terms of business processing, / http ASP Has a large cost advantage.

Therefore, different languages have their own characteristics. and / http ASP and PHP popularity are higher, the share is relatively stable. In all kinds of programming language statistics, the. NET share is much higher than PHP, minus the desktop part of. NET, which may be different or / http ASP More users. And from the weight of the view, Java is really in a monopoly position.. NET run up with more things, the face of the goal is enterprise-level projects, PHP is a scripting language, for the front-end display, not so much burden. No one answered "because PHP is the best programming language"? / http ASP Not many projects have been done, in recent years have been using PHP to do projects, but from the number of / http ASP The feeling in project experience is that / http ASP The overall efficiency is too low relative to PHP.
First set up the development environment Configuration General machine vs to install at least half an hour SQL Server is almost more than 10 minutes, and PHP directly install a WAMP inheritance environment at most five minutes to fix everything.
The second development of C # and other languages are strongly typed, PHP is a weak type, the amount of code is much less, by the type of inconsistency and type conversion of the various problems naturally there is no
The third PHP open-source project is a plethora of changes to the requirements can be Zhou. and C # good open-source projects are very few and many are compiled only DLL, not much of the second development of the room
The IV deployment PHP can be played on cross-platform win and Linux casually and / http ASP Only win is optional. And the cost is much higher.

Finally, my feeling is that PHP is a web-born language and / http ASP It's just what Microsoft created to prove the sense of existence. There is actually not much comparability between the two. Xie invited

1. Price
Use / http ASP , Server Software Windows Server is expensive (check the 2008 version 18000 yuan), database software is expensive (2008 version 12500 Yuan), performance is not necessarily good.
In PHP, the server software can be 0 (Linux), the database software can be 0 (MySQL, etc.), performance is not bad.

2. Ecological
Because of the previous reasons, with PHP more people, the development of a little more discussion, made of large and small sites a little more, slowly became the scale.

3. Open source
Because PHP code can open source without compiling, Linux and MySQL are open source, so it is more conducive to development development.

And then the cycle of the process, promote each other, so it is this way. I think ...

The popular thing is not the best thing, but is good at integrating the interests of all parties.

PHP low threshold, can let more non-trained novice contact with the program design, and thus fall in love with the development of this profession. Then the community will be bigger.

The popular thing must guarantee the core competition.

Why does Facebook use PHP to develop, because only one person develops, fast ah. The internet's speed has largely made PHP a success.
Make a metaphor:
For example, a woman like another woman than a higher education, high income ... That woman just needs to say "my chest is big"!
The world is quiet!
  • 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.