Currently, the Web scripting language three mainstream: Php,jsp,.net. What kind of situation is it? Is the Three Kingdoms separation, or other situation? Where are the real advantages of each?

Source: Internet
Author: User
Although these content in Baidu search has a bunch, but a lot of actually is the surface description. I would like to know what some of the real developers understand. Of course these programming languages are always just tools.

Reply content:

PHP has the advantage of being cross-platform, easy to deploy, easy to maintain, web-based, open source community powerful, and document-rich.
As for the 3 foot separation, not to mention, the world's top 1 million sites, 70% is PHP.
JSP and / http ASP are also excellent, but their deployment problem is the biggest problem. I read a lot of comments, really funny, at home on this level. These three kinds of web back-end languages, I only use PHP at work. The other two kinds just understand. If you really understand how the Web works, what language doesn't matter. If you don't understand how the Web works, like PHP, then you have to at least understand the HTTP protocol, if the talent is not good, it is best to engage in a network protocol to see, from the hardware cable to see the application layer such as http,ftp. Only if you know the Internet can you understand how the Web works. Like the PHP background language is the dry HTTP protocol (of course, Apache Auxiliary, if you want to pull linux-> hardware--physics, mathematics), and the background logic into the foreground http/javascript/css, etc. JavaScript, of course, moves the logic that can be processed in the background to the foreground.

As for what the web background language really doesn't matter. The important thing is that you know how the Web is done,

I've seen a lot of people say that mastering a technology is too broad. If technology is a programming language, you don't need to be proficient in any language. I think the computer architecture is the best entry point, backward can study the hardware, forward can study the software. If you do not want a language as a tool. C language is the best. such as web development. If you understand what the Web is all about, it's easy to develop a Web program with C.

In short, if you really want to program, it's best to do long-term planning. Start from the beginning. This will do more with less. Actually, the person who learns computer, finally really understand computer 1/10, proficient I guess 1/100.

As for beginners to develop the web with which, must use PHP, there is only one reason, she is the most popular and has been the dominant position.
First of all, from the procedural principle,
PHP is the scripting language, which means that it is triggered to interpret the execution.
. NET and JSP, are running in the virtual machine application, can operate memory and threads. Essentially not the same as PHP.

Example:
If you let PHP do a scheduled task, you have to rely on the system itself to trigger the scheduled task. and. NET and JSP only need one thread to do it.

But PHP's biggest advantage is that it's free and open!
The benefits of free will not have to say, no one will stoop to Microsoft.
As for openness, you can also get an example of how Facebook was written in PHP, but the efficiency of PHP execution made Zuckerberg so hurtful that Facebook offered another idea:

is to encapsulate the underlying database business logic in C + + and provide it to the upper API instead.
PHP can do that because it is open source.

Do you get it? Laurence said the deployment of the problem, I think there is no, PHP lighter also need an Apache and PHP, Java to Tomcat and Jvm,net to IIS with the. NET Framework: But now some of the framework of. NET can even let. NET self-host run, install a mono/net framework to solve all problems
Note:. NET runs across platforms through Mono, so win is no longer a hindrance
PHP has an unshakable position in the web domain, 70+ 's share, mostly by wp,discuz,ecshop
These open source full-site programs are supported. Judging from Tiobe's latest rankings,
Java 19% C # 4.7% PHP 2.8%
Since PHP is only executed on the web and there is a huge advantage of Android for Java, it is privately believed that three of the web domains should be pitches
. NET has the best IDE Visual Studio in the universe (a few blocks away from eclipse) to maximize development efficiency ... But it also spawned some code animals that would only use tools.
PHP is lightweight, request up, accept the request by the server, transfer PHP to execute the script, run out of trouble. NET and Java's main web framework, will be a part of the memory in advance execution.
PHP Open source program should be wood has a lot of Java, I am the least. Net.
Operating efficiency well, a few loops are actually not representative.
Different versions of Php.jvm.net.mono may have some differences
No matter God horse language, will not affect you become a good yard animal. In the enterprise application domain, only Java and. NET. Original link:
Usage Statistics and market Share of Server-side programming Languages for Websites, August 2015

server-side Programming Languages (August)

1. PHP 81.2%
2. / http ASP 16.7%
3. Java 3%

Popular sites using PHP
    • Facebook.com
    • Baidu.com
    • Wikipedia.org
    • Qq.com
    • Twitter.com
    • Taobao.com
    • Sina.com.cn
    • Tmall.com
    • VK.com
    • Sohu.com
As far as I know, the demand for PHP is still quite large, many companies are not able to recruit PHP talents have an advantage, net development speed, the bottom class A lot, can quickly develop a good performance program. But the problem is that many people only understand the unsatisfactory development of fur. PHP, JSP, and. NET are good programming techniques and tools.
PHP is easy to use, JSP is a Java advanced application, meaning you have a more solid Java Foundation;. NET can only be applied to Microsoft platforms.
Do not know the question behind this topic is what? Do you want to choose a technology to plan your career direction, or to determine the technical direction of a business system? In fact, they are just tools that are used in software systems to solve real-world business problems. Many people according to the size of the system, the complexity of the function of the implementation of the three scores, in fact, there is no need. If you just want to master the programming ability to find work, learn one or two kinds of can. Moreover, the direction of the demand for technical talents in the South and the north is also uneven, (personal feeling, southern bias.) NET more, more in the North than Java). Tools, after all, are tools, with good and bad is the ability of individuals, but ultimately in the industry and business, so pay attention to the industry is the main line of development.
In terms of operational efficiency, PHP is slower than the latter. In practice, however, the impact on most applications is negligible. Operational efficiency is important, but the difference between faster and faster is not worth much to the app experience. In today's fast-changing information age, a good system, in fact, the most important is the scalability of good, high stability, is enough. At these points, various development platforms have advantages.

PHP development efficiency, low cost of delivery

Java Popular (web-based solution with the most information), mature, flexible, good stability

. NET not clear

So, proficient in a technology is good, no tube is what language. There are different options and trade-offs for the applications that are not used. Language is not important, it is important to use the right place.
  • 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.