毫无疑问, web领域, php碾压一切。 我尝试过用nodejs、golang、java、kotlin、php、python进行web开发。
关于php和python在web开发领域的比较, python官网有详细对比
Compared as Web Development Frameworks
Unlike PHP, which has web development features built directly into the core language, Python's web development capabilites are provided by add-on modules. Basic CGI capabilities are provided by the 'cgi' module which comes in Python's standard library. There's also a wide range of third-party modules available for Python; some are complementary, others compete. As a result, Python provides a more flexible base for web development.
There are some adverse side effects of this flexibility. First, the range of choices can be bewildering. Unless you are working experienced Python web developers, PHP is easier to get started with. Second, support for PHP is more common with shared-hosting companies than support for the various Python options.
本文通过对比PHP和Python在Web开发领域的应用特点,指出PHP直接将Web开发功能集成于核心语言中,而Python则通过第三方模块提供更灵活的Web开发能力。虽然Python提供了更多选择和灵活性,但对于初学者来说,PHP可能更容易上手。
908

被折叠的 条评论
为什么被折叠?



