search
HomeBackend DevelopmentPHP ProblemIs Taobao developed in PHP?

Is Taobao developed in PHP?

Oct 16, 2019 pm 05:58 PM
javaphpTaobao

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!

Statement
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
ACID vs BASE Database: Differences and when to use each.ACID vs BASE Database: Differences and when to use each.Mar 26, 2025 pm 04:19 PM

The article compares ACID and BASE database models, detailing their characteristics and appropriate use cases. ACID prioritizes data integrity and consistency, suitable for financial and e-commerce applications, while BASE focuses on availability and

PHP Secure File Uploads: Preventing file-related vulnerabilities.PHP Secure File Uploads: Preventing file-related vulnerabilities.Mar 26, 2025 pm 04:18 PM

The article discusses securing PHP file uploads to prevent vulnerabilities like code injection. It focuses on file type validation, secure storage, and error handling to enhance application security.

PHP Input Validation: Best practices.PHP Input Validation: Best practices.Mar 26, 2025 pm 04:17 PM

Article discusses best practices for PHP input validation to enhance security, focusing on techniques like using built-in functions, whitelist approach, and server-side validation.

PHP API Rate Limiting: Implementation strategies.PHP API Rate Limiting: Implementation strategies.Mar 26, 2025 pm 04:16 PM

The article discusses strategies for implementing API rate limiting in PHP, including algorithms like Token Bucket and Leaky Bucket, and using libraries like symfony/rate-limiter. It also covers monitoring, dynamically adjusting rate limits, and hand

PHP Password Hashing: password_hash and password_verify.PHP Password Hashing: password_hash and password_verify.Mar 26, 2025 pm 04:15 PM

The article discusses the benefits of using password_hash and password_verify in PHP for securing passwords. The main argument is that these functions enhance password protection through automatic salt generation, strong hashing algorithms, and secur

OWASP Top 10 PHP: Describe and mitigate common vulnerabilities.OWASP Top 10 PHP: Describe and mitigate common vulnerabilities.Mar 26, 2025 pm 04:13 PM

The article discusses OWASP Top 10 vulnerabilities in PHP and mitigation strategies. Key issues include injection, broken authentication, and XSS, with recommended tools for monitoring and securing PHP applications.

PHP XSS Prevention: How to protect against XSS.PHP XSS Prevention: How to protect against XSS.Mar 26, 2025 pm 04:12 PM

The article discusses strategies to prevent XSS attacks in PHP, focusing on input sanitization, output encoding, and using security-enhancing libraries and frameworks.

PHP Interface vs Abstract Class: When to use each.PHP Interface vs Abstract Class: When to use each.Mar 26, 2025 pm 04:11 PM

The article discusses the use of interfaces and abstract classes in PHP, focusing on when to use each. Interfaces define a contract without implementation, suitable for unrelated classes and multiple inheritance. Abstract classes provide common funct

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software