Currently, three mainstream web scripting languages are PHP, JSP, And. NET. What is the situation? Is it the Three Kingdoms, or is it another situation? What are their true advantages?

Source: Internet
Author: User
Although there are a bunch of such content searched in Baidu, many of them are actually superficial descriptions. I hope I can understand some real developers' understanding in zhihu. Of course, these programming languages are always just tools. Although there are a bunch of such content searched in Baidu, many of them are actually superficial descriptions. I hope I can understand some real developers' understanding in zhihu. Of course, these programming languages are always just tools. Reply: The advantage of PHP is that it is cross-platform, easy to deploy, easy to maintain, born for the Web, powerful open-source community, and rich documentation.
For example, the top 1 million sites in the world are PHP.
JSP and http://Asp.net They are also very good, but their deployment problems are the biggest problem. I have read so many comments. It's really funny. This is the level in China. I only use php for these three web backend languages at work. The other two are just understanding. If you really understand how the web runs, no language is important. If you don't know how to run the web, you need to develop a php type, and then you must at least understand the http protocol. If tianyao is not good, you 'd better develop a network protocol, see the application layer such as http and ftp from the hardware cable. only when you understand the network can you understand how the web works. For example, the php background language is used for http protocol (of course, apache is also used for assistance. If you need to pull linux-> hardware-> physics and mathematics ), and turn the background logic into the foreground http/javascript/css, and so on. Of course, javascript is to move the logic that can be processed in the background to the foreground.

What web Background language does not really matter. What's important is that you know how the web works,

I have seen many people say they are proficient in a technology, which is too broad. If the technology is a programming language, you do not need to be proficient in any language. I think the computer architecture is the best entry point, so you can study hardware and software. If a language is required as a tool. The C language is the best. For example, web development. If you understand what is going on with web, it is easy to develop web programs with c.

In short, if you really want to program, you 'd better make long-term plans. Start from scratch. This will get twice the result with half the effort. In fact, people who want to learn computer really understand computer 1/10 at the end. I guess they are 1/100 proficient.

There is only one reason why beginners must use php to develop web applications. She is the most popular and dominant.
First, in terms of program principle
PHP is the script language, that is, it is triggered to explain the execution.
. Net and JSP are applications running in virtual machines and can operate on memory and threads. It is essentially different from PHP.

Example:
If you want PHP to schedule a task, it must be triggered by the scheduled task of the system. And. Net and JSP only need to start a thread.

But the biggest advantage of PHP is that it is free and open!
You don't need to talk about the free benefits. No one will bow to Microsoft.
As for openness, we can also give you an example to understand that FaceBook is written in PHP, but PHP Execution efficiency has hurt Zuckerberg's mind. So FaceBook proposed another idea:

It encapsulates the underlying database business logic with C ++ and then provides it to the upper-layer API.
PHP can do this because it is open source.

Do you understand? I don't think there is a deployment problem mentioned by the great god of Laurence. php requires apache and php, java requires tomcat and jvm, and net requires iis and. net framework .. but now. some Frameworks of. net can even make. net Self-host running, installing a mono/net framework solves all problems
Note:. net runs across platforms through mono, so win is no longer an obstacle.
Php has an unshakable position in the web field, with more than 70 shares, most of which are caused by wp, discuz, and ecshop.
These open-source whole-site programs are supported. Judging from the latest ranking of tibench,
Java 19% c # 4.7% php 2.8%
Because php is only executed on the web and android brings huge advantages to java, I personally think that in the web field
. Net has the best ide visual studio in the Universe (open several streets of eclipse with wood), to maximize the development efficiency... But it also gave birth to some code animals that only use tools.
Php is lightweight and requests come up. The server accepts the requests and transfers them to php to execute the script. The main web frameworks of net and java will be executed in memory in advance.
Php open-source programs should have a lot of java, and I have the least. net.
It is not representative of several cycles.
Different Versions of php.jvm.net. mono may have some differences.
No matter the language of Shenma, you will not be affected to become a good coder. In the enterprise application field, only Java and. NET are supported. Original article:
Usage Statistics and Market Share of Server-side Programming versions for Websites, August 2015

Server-side Programming versions (August)

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

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, and many companies have their own advantages in recruiting available PHP talents. Net is fast in development and there are many underlying classes, it can quickly develop programs with good performance. But the problem is that many people only understand what fur has developed. PHP, JSP, And. NET are good programming techniques and tools.
PHP is easy to use. JSP is an advanced JAVA application that requires a solid JAVA Foundation.. NET can only be used on Microsoft platforms.
I don't know what the problem is behind this topic? Do you want to select a technology to plan your career direction or determine the technical direction of a business system? In fact, they are all tools used to solve real business problems in software systems. Many people rate the three based on the system size and complexity of functions. In fact, it is not necessary. If you only need to master programming skills to find a job, either of them is acceptable. Moreover, the demand for technical talents in the south and the north is not balanced (I personally think there are more. NET in the south and JAVA in the north ). After all, tools are tools. Good or bad tools are personal capabilities, but ultimately they are all rooted in the industry and business. Therefore, focusing on industry businesses is the main line of development.
In terms of running efficiency, php is slower than the latter two. But in fact, the impact on most applications is negligible. The operational efficiency is very important, but the difference between speed and speed is not very valuable for the application experience. In today's ever-changing information age, the most important thing for a good system is good scalability and high stability. At these points, various development platforms have their own advantages.

High php development efficiency and low delivery cost

Java is popular (the most information about online solutions), mature, flexible, and stable

. NET is not clear

So, it is good to be proficient in a technology, so you don't have to worry about what language it is. Different applications have different choices and trade-offs. Language is not important. It is important to use the correct place.

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.