Is Taobao developed in PHP?

青灯夜游
Release: 2023-02-26 22:20:02
Original
5203 people have browsed it

Is Taobao developed in PHP?

Taobao is now written in Java.

Taobao was developed in PHP in the early days. Since PHP did not support connection pooling to access the Oracle database, later with the help of SUN engineers, the entire site was rewritten in Java, fully migrated to Java, and ran on Linux. Currently only a very small part of the Internet (such as dynamic activity pages) is still php.

The difference between PHP and Java

1. Technical difference:

1. Java is purely object-oriented development, with powerful functions and many branches. There is no software that Java cannot do. C/S or B/S. Functionally speaking, no language can compare with Java.

2. PHP is a rising star, absorbing the advantages of languages ​​such as Java, C and Perl, and focusing on the Internet field. PHP has unique advantages in the WEB field, and no language can compare with it in the WEB field.

3. Compared with the two, Java basically wins. But in fact, there is not much comparability, and the focus areas are different. Simply taking the WEB that can do both, PHP wins completely.

2. Market share difference:

1. The Java language is ancient and has been developed for many years. It is used in the C/S field and B/ S sectors have their place, especially in the telecommunications and banking industries. However, with the changes in social needs and the focus of other languages, the Java market is being eroded little by little. The WEB field is almost dominated by PHP, the embedded field is almost dominated by C, and the client field is almost dominated by C language. If it weren't for the emergence of Android, the fate of Java would be hard to say.

2. The market description of PHP is relatively simple, because we only need to look at one field, which is the web field. The market of php in the WEB field exceeds 80%, and the rest is such as java-JSP, asp, C#, .NET, python, ruby, etc. 395 of the top 500 websites use PHP. Facebook and Sina Weibo, the two largest websites in the world, all use PHP.

3. Comparing the two, they are evenly matched.

3. Language difficulty comparison

1. PHP is a scripting language that is interpreted and executed. Its syntax is similar to C language. It is easy to learn and use. Non-professionals who understand computers can also use PHP with a little training.

2. Java must first be compiled into a Class file and then executed on the Java virtual machine. Java development requires familiarity with Java syntax and some core architectures to achieve a reusable, cross-platform software. Java training is much more difficult to learn than PHP training.

For more PHP related knowledge, please visit php中文网!

The above is the detailed content of Is Taobao developed in PHP?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!