Python做Web开发已经过时了吗?
提问背景:个人自学了Python+Flask的框架后觉得非常惊艳,然而昨日向某初创公司技术部的大神请教,聊到有关做Web的技术,其观点是Java已经是过时七八年的技术,而PHP也过时三五年了,至于Python本来用的不多也过时,只有Node.js才会是未来的趋势,都可以跳出后端的框架,只用专注于前端的设计就能够达成需求,所以Web在未来是否会彻底摒弃前后端分离的这些形形色色的框架,重回统一的设计模式?个人也不懂Node.js的实现方式,只是觉得好像蛮有道理,但是我还是喜欢Python,感觉好像一直钟爱的男神突然被变成了屌丝。。有点伤,只是想多请教下业内专业人士,是否果真是这个趋势,Python在Web方面只是昙花一现,而Java这种常青树,包括PHP这个最好的语言在Web 方面也难以为继了呢?
//补充一下,大神来自ACM,应该眼光还是犀利的吧……
/*同时还有个附加问题,如果做Web决心恶补数据结构和算法导论,去搜狐视频补MIT和Stanford的公开课并写作业,阅读《算法导论》之类的经典书籍,去Leecod刷题练基本功,十年之内是否有机会赶上国内院校CS科班出身的本科学生中的平均水平?谢谢啦。*/
谢谢大家的讨论,还是自己知识面太弱,如果要在Web方面有建树恐怕还需要对以上任何一种语言的语法比较熟悉,并且对HTTP那些吃透才能跳出框架和语言来看问题,不过这是好事情,有东西学总比没东西学更好!匿了回去恶补新知识。。。
回复内容:
JS大法好,node好,天灭JAVA,退py保平安。众生皆为全栈来,现世险恶忘前缘,前端狗说真相,教你脱险莫拒绝。
上网搜JS大统一,有真相。 屁股坐歪了,导致结论也歪了。
1. 互联网圈大约已经是很少有人还用 Java 做 Web Page 了,但不能据此认为 Java 过时,它还有其他用途;
2. 做 Web 呢,PHP 从应用范围到岗位需求来说都是很强的,甚至可以说是应用最广泛的;
3. Python 在 Web 界不能说它过时,其实它做 Web 从来也没热门过,但它在科学计算、计算机视觉、图像处理、运维脚本等领域还是有一套;
4. Node.js 只在前端人员这里火,主要是 Web、服务器和前端工具链,但在 Web 领域尚不如 PHP 广泛。
以上仅说明各语言在各领域的采用率,不说明技术高低。
出于部署和运维难度、开发复杂度等方面考虑,我不认为 Node.js 在 Web 领域优于 PHP,更不认为三到五年之内有谁能在 Web 界击败 PHP 。
PHP 黑,匿了。 Python做web都还没有流行起来,何来过时。。。 我乎哭晕在厕所
Java已经是过时七八年的技术,而PHP也过时三五年了,至于Python本来用的不多也过时,只有Node.js才会是未来的趋势
看到这个还有必要评价么。 我相信再过一两年此君就会说nodejs也过时了。
你小心不要被这样的大神带到沟里就好。 10年之内....你也太看得起科班生了 你知道吗?对三线城市来说,JavaWeb、SSH框架、甲骨文数据库等等字眼是这个城市里唯一活跃着的技术栈,即使它们非常落后,而Python和NodeJS,可能很多人都没有听过,当然更让人抓狂的一点是,离开了SSH框架后好多人连代码都不会写了,一个下载功能都需要依赖框架来实现,逃:( web前后端融合是永远不可能完成的,而且本人来看,两者会分得越来越清楚,web前后端本来就是完全解耦的。而且把不同的东西分得清楚不正是我们前辈努力了很多年而且我们也正在努力的吗?高内聚,低耦合,至少java设计模式那门课上是这么教我的。 对于web工程师来说从python切换到PHP并不会有太大的问题,所以与其讨论这么多不如先去写点代码。
国内院校CS科班出身的本科学生中的平均水平?
踏实学一年足够。。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

The speed of mobile XML to PDF depends on the following factors: the complexity of XML structure. Mobile hardware configuration conversion method (library, algorithm) code quality optimization methods (select efficient libraries, optimize algorithms, cache data, and utilize multi-threading). Overall, there is no absolute answer and it needs to be optimized according to the specific situation.

It is impossible to complete XML to PDF conversion directly on your phone with a single application. It is necessary to use cloud services, which can be achieved through two steps: 1. Convert XML to PDF in the cloud, 2. Access or download the converted PDF file on the mobile phone.

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,

What are the magic methods of PHP? PHP's magic methods include: 1.\_\_construct, used to initialize objects; 2.\_\_destruct, used to clean up resources; 3.\_\_call, handle non-existent method calls; 4.\_\_get, implement dynamic attribute access; 5.\_\_set, implement dynamic attribute settings. These methods are automatically called in certain situations, improving code flexibility and efficiency.

There is no built-in sum function in C language, so it needs to be written by yourself. Sum can be achieved by traversing the array and accumulating elements: Loop version: Sum is calculated using for loop and array length. Pointer version: Use pointers to point to array elements, and efficient summing is achieved through self-increment pointers. Dynamically allocate array version: Dynamically allocate arrays and manage memory yourself, ensuring that allocated memory is freed to prevent memory leaks.

An application that converts XML directly to PDF cannot be found because they are two fundamentally different formats. XML is used to store data, while PDF is used to display documents. To complete the transformation, you can use programming languages and libraries such as Python and ReportLab to parse XML data and generate PDF documents.

XML can be converted to images by using an XSLT converter or image library. XSLT Converter: Use an XSLT processor and stylesheet to convert XML to images. Image Library: Use libraries such as PIL or ImageMagick to create images from XML data, such as drawing shapes and text.
