Table of Contents
回复内容:
Home Backend Development PHP Tutorial 开发电商为什么都喜欢用java?

开发电商为什么都喜欢用java?

Jun 06, 2016 pm 04:45 PM
java php python web

互联网2年经验,一直PHP做WEB服务器,没做过电商

想了解一下,为什么各个电商都喜欢用java 京东,阿里,美团什么的都是
难点在哪儿?java有什么比脚本 PHP python 更有优势的地方
用PHP或者PY难道搞不定么

回复内容:

因为新手和老手用java写的代码都差不多,降低了沟通成本。 谁说的?

目前国内电商最常用的方式是java写服务端php前台调接口。 阿里为啥不清楚,但是别家都用就是因为阿里用。
就这么简单,这条路被阿里趟过了,证明可行。
不会遇到发展到一定程度要换技术的尴尬情况。 因为写java的程序猿遍地都是,便宜。



说点正常的。电商平台是由若干个子系统平台组成的。一个完整的的电商平台至少包括:用户管理,客户营销,客户服务,一整套的产品管理,跨平台/渠道管理,支付系统,物流管理,仓储管理……统计报表。要是开放平台,还要有一大堆的商户管理功能。而且电商通常面临高并发交易量的问题,交易时间比较集中,比如双十一。所以这整个就是一个企业级的系统架构要求。企业级,难道不正是JAVA的专长吗? 不限于语言的,PHP部署灵活,性能上基本没啥问题,不够好的地方我们也有用C的,也没遇到什么不能做的。没用过JAVA,但是听说过JAVA的Web开发有很多弊端,比如上线要折腾好久之类的。老大说的:用JAVA的比较高大上,因为大家都在用...... 不要喷我~~ JAVA在企业级方面的应用和解决方案相对成熟吧。
PHP很大程度上还是用于WEB网站多一些,做业务系统,有些时候会显得有些力不从心。PHP程序员虽然多,但大多是做WEB浅层开发,能够用PHP做企业级(或者商用型)业务系统的非常少。 京东 .NET
淘宝 前台 PHP
而且,基本小的商城都是 完全 PHP 写的好吧
大网站的话,基本 JAVA + PHP 电商系统涉及很多子系统,java作为企业级管理系统,对复制的系统业务更擅长,php多是web浅层开发。整体来说java在系统架构上要比php优越很多;在数据接口上通过JDBC来访问数据库,通过不同的数据库厂商提供的数据库驱动方便地访问数据库,访问数据库的接口比较统一;还有就是安全性上,做电商本身就是存在资金流,java优越的安全性就提现出来了。 Java是一个工业化语言,在建立大型应用上比较有优势。 我是一个做java开发的程序员,php这些也都涉及到过,我目前是在负责开发公司的电商项目。应该能扯扯。 首先你要明白php主要是用来写网页的,涉及的是web开发的浅层,而像大型的网站的业务系统很多很复杂,一个网站是有好多子系统组建成的,而java特长就是企业级管理系统,能解决繁杂的系统业务,而php.net面对这些业务 力不从心。
最重要的一点,java开发技术成熟,降低了公式的开发成本,会java的程序员比较多。。。
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

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 Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1269
29
C# Tutorial
1248
24
Python vs. JavaScript: Development Environments and Tools Python vs. JavaScript: Development Environments and Tools Apr 26, 2025 am 12:09 AM

Both Python and JavaScript's choices in development environments are important. 1) Python's development environment includes PyCharm, JupyterNotebook and Anaconda, which are suitable for data science and rapid prototyping. 2) The development environment of JavaScript includes Node.js, VSCode and Webpack, which are suitable for front-end and back-end development. Choosing the right tools according to project needs can improve development efficiency and project success rate.

The Compatibility of IIS and PHP: A Deep Dive The Compatibility of IIS and PHP: A Deep Dive Apr 22, 2025 am 12:01 AM

IIS and PHP are compatible and are implemented through FastCGI. 1.IIS forwards the .php file request to the FastCGI module through the configuration file. 2. The FastCGI module starts the PHP process to process requests to improve performance and stability. 3. In actual applications, you need to pay attention to configuration details, error debugging and performance optimization.

Golang vs. Python: The Pros and Cons Golang vs. Python: The Pros and Cons Apr 21, 2025 am 12:17 AM

Golangisidealforbuildingscalablesystemsduetoitsefficiencyandconcurrency,whilePythonexcelsinquickscriptinganddataanalysisduetoitssimplicityandvastecosystem.Golang'sdesignencouragesclean,readablecodeanditsgoroutinesenableefficientconcurrentoperations,t

Python vs. C  : Understanding the Key Differences Python vs. C : Understanding the Key Differences Apr 21, 2025 am 12:18 AM

Python and C each have their own advantages, and the choice should be based on project requirements. 1) Python is suitable for rapid development and data processing due to its concise syntax and dynamic typing. 2)C is suitable for high performance and system programming due to its static typing and manual memory management.

Laravel vs. Python (with Frameworks): A Comparative Analysis Laravel vs. Python (with Frameworks): A Comparative Analysis Apr 21, 2025 am 12:15 AM

Laravel is suitable for projects that teams are familiar with PHP and require rich features, while Python frameworks depend on project requirements. 1.Laravel provides elegant syntax and rich features, suitable for projects that require rapid development and flexibility. 2. Django is suitable for complex applications because of its "battery inclusion" concept. 3.Flask is suitable for fast prototypes and small projects, providing great flexibility.

Does Python projects need to be layered? Does Python projects need to be layered? Apr 19, 2025 pm 10:06 PM

Discussion on Hierarchical Structure in Python Projects In the process of learning Python, many beginners will come into contact with some open source projects, especially projects using the Django framework...

What happens if session_start() is called multiple times? What happens if session_start() is called multiple times? Apr 25, 2025 am 12:06 AM

Multiple calls to session_start() will result in warning messages and possible data overwrites. 1) PHP will issue a warning, prompting that the session has been started. 2) It may cause unexpected overwriting of session data. 3) Use session_status() to check the session status to avoid repeated calls.

Python vs. C  : Which Language to Choose for Your Project? Python vs. C : Which Language to Choose for Your Project? Apr 21, 2025 am 12:17 AM

Choosing Python or C depends on project requirements: 1) If you need rapid development, data processing and prototype design, choose Python; 2) If you need high performance, low latency and close hardware control, choose C.

See all articles