到2025年,原生PHP还重要吗?我说的不是Laravel、Symfony这些框架。
1 分•作者: junebuggerz•6 个月前
我一直在 freelancer.com 等网站上搜索包含 PHP 的项目。有些项目让人感觉它们在谈论核心 PHP(但我认为它们指的是框架),而有些项目确实提到了核心 PHP(它们明确提到了它)。但我在 Google 和 Reddit 上看到很多人说核心 PHP 已经过时了。我找到了一篇文章,说它仍然相关,而且不会消失。所以我的问题是,学习核心 PHP 和 MySQL 可以吗(我不是在说 Laravel 或 Symfony 等 PHP 框架)?尤其是在自由职业方面。我知道 RESTful API,也了解 cURL,可能还会使用前端的 Vanilla JS。但是,用核心 PHP 开发 Web 应用程序会犯错吗?与 Laravel、Django 或 Python 的 Flask 或 NodeJS 的 Express 相比,我发现使用核心 PHP 更容易,也更有效率。容易得多。那么,你们在 2025 年还在使用核心 PHP 吗,无论是自由职业还是工作?
查看原文
I have been searching on sites like freelancer.com for projects that contain PHP. Some projects give to understand that they are talking about core PHP(but I think they are talking about frameworks), and some projects do talk about core PHP(they mention it specifically). But I look on google and reddit and find a lot of people saying that core PHP is dead. I think I found one article saying that it is relevant and not going anywhere. So my question is, is it okay to learn core PHP and MySQL(and I am not talking about PHP frameworks like Laravel or Symfony)? Especially in terms for freelancing. I am aware of RESTful APIs and using cURL and maybe a front end with vanilla JS. But will I be making a mistake developing core PHP web apps? I find it more easier and more productive when using core PHP compared to Laravel or Django or Flask for Python or Express for NodeJS. A lot easier. So do any of you still use core PHP either freelancing or for work in 2025?