Table of Contents
回复内容:
Home Backend Development PHP Tutorial Python 能取代 PHP 的 Web 开发地位吗?

Python 能取代 PHP 的 Web 开发地位吗?

Jun 17, 2016 am 08:32 AM

没有相关的细节

回复内容:

我大PHP到现在也没把ASP灭族 个人有几点看法:
  1. 转移是需要成本的,如果将php项目转移到python架构上来显得不是那么容易
  2. python目前在国内的资源比较少,包括:从事python开发的人少,当然能写出高质量代码的人也就相对来说少很多;目前这方面的资源比较少;
  3. 目前从事php开发的人多,资源也很多,开发也很容易上手,而python创业公司可能会优先。。。。
作为井底之蛙的我认为,python在web开发方面,和php比,没有什么优越性- -
欢迎拍砖
  1. 作为一名写PHP的同时也在Python的码农,还是觉得写python爽点。
  2. 用python做web开发的学习曲线没有比php高。
  3. 现在python已经有点流行了,国内python大牛的推广很给力。
  4. python的web开发框架逐渐成熟,像django并不见得比任何php框架差。

所以,觉得python取代php在web开发的地位还是有可能,只不过是时间问题。 1.作为一个正在比较两种语言特性的入门级码农,从国内环境和google对其支持看,php已经趋于保守,缺点很多,但是国内市场需求旺盛,而且空间服务商也主流支持
2.python在知乎和豆瓣的成功,注定是未来一个发展方向,如果php再不努力,5年后就失去很大市场了
3.个人比较讨厌$符号满天飞,但是python为何对空白字符敏感呢,恨不得自己写一种web语言了
4.很多创业公司的确选择了python,这语言本人未用过,不再多评论
5.保守估计python4-5年内不会占领php市场,后发弱势,所以现在专心学习php,python只做爱好
---------------
2015.6.5更新
Python_v2.7生产使用3年后:
* Python能做的方向很多,web只是常用方向,各种web框架,简单易学,shell的top level也是动态语言标配
* Python真的很好 不会取代,PHP扩展丰富,社区活跃,开源系统多,开发人员更多。 除非互联网巨变,而且开发人员从php转移到python那是需要利益需求的,目前国内python市场还没形成。 在所有的编程领域里面,web似乎是编程语言最多的,光主流的就有asp、asp.net、jsp、php、ruby、python、nodejs, 这两个语言我们都有在用,第一代项目的时候全线使用PHP的Yii框架,第二代,我们后端进行了ROA,所有的后端接口以API的形式提供前端层的PHP进行调用,不得不承认python的开发效率比PHP快,可以写出简洁漂亮的代码,只是很多东西都没有现成的,利用好搜索引擎,大部分的问题都可以得到完美的解决方案,个人十分建议在web端尝试使用python,不比php差
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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

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)

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

Describe the SOLID principles and how they apply to PHP development. Describe the SOLID principles and how they apply to PHP development. Apr 03, 2025 am 12:04 AM

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to automatically set permissions of unixsocket after system restart? How to automatically set permissions of unixsocket after system restart? Mar 31, 2025 pm 11:54 PM

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

Explain the concept of late static binding in PHP. Explain the concept of late static binding in PHP. Mar 21, 2025 pm 01:33 PM

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

How to send a POST request containing JSON data using PHP's cURL library? How to send a POST request containing JSON data using PHP's cURL library? Apr 01, 2025 pm 03:12 PM

Sending JSON data using PHP's cURL library In PHP development, it is often necessary to interact with external APIs. One of the common ways is to use cURL library to send POST�...

Framework Security Features: Protecting against vulnerabilities. Framework Security Features: Protecting against vulnerabilities. Mar 28, 2025 pm 05:11 PM

Article discusses essential security features in frameworks to protect against vulnerabilities, including input validation, authentication, and regular updates.

How to debug CLI mode in PHPStorm? How to debug CLI mode in PHPStorm? Apr 01, 2025 pm 02:57 PM

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

See all articles