对于 Python,我认为它只是在 Web 服务中没有那么常用。我使用 Python 的次数比 PHP 多得多,但除了偶尔使用 Django 网站外,我不倾向于将它用于 Web 内容。 (请注意,我托管我的个人资料的公司对 Java 收费,但提供“免费”Python,与 PHP 相同)。
With Java, hosting is more complicated. You can't just load mod_java and go, you need Tomcat or JBoss, or some other Servlet/JSP hosting environment, and they're non-trivial to configure and maintain.
With Python, I think it's just that it's not as commonly used for web services. I use much more Python than PHP, but I don't tend to use it for web stuff, aside from the occasional Django site. (Mind you, the company I host my personal stuff with charges for Java, but offers Python for "free", the same as PHP).
I think it's more likely to have PHP because the PHP module and Apache come together on Linux more often. However, I still hosted Python web applications by installing Python on my hosted service and working around all the environment related issues. It's not ideal, but that was the only way to do it.
Java and Ruby on Rails are expensive in resources (CPU and RAM).
Perl is supported pretty much everywhere...but not published. Probably not so requested Python...I don't know. Probably not so requested. But there are several free Python hosting options, like http://code.google.com/appengine/, and many others (of course, PHP is still the king by far).
I haven't seen Python support missing from any webhosts ... I'm not sure where you're looking. Checkout out Webfaction - they really are the best for smaller stuff bar none.
发布评论
评论(5)
对于 Java,托管更加复杂。你不能只加载 mod_java 就可以了,你需要 Tomcat 或 JBoss,或其他一些 Servlet/JSP 托管环境,它们的配置和维护并不简单。
对于 Python,我认为它只是在 Web 服务中没有那么常用。我使用 Python 的次数比 PHP 多得多,但除了偶尔使用 Django 网站外,我不倾向于将它用于 Web 内容。 (请注意,我托管我的个人资料的公司对 Java 收费,但提供“免费”Python,与 PHP 相同)。
With Java, hosting is more complicated. You can't just load mod_java and go, you need Tomcat or JBoss, or some other Servlet/JSP hosting environment, and they're non-trivial to configure and maintain.
With Python, I think it's just that it's not as commonly used for web services. I use much more Python than PHP, but I don't tend to use it for web stuff, aside from the occasional Django site. (Mind you, the company I host my personal stuff with charges for Java, but offers Python for "free", the same as PHP).
也许是因为与其他工具相比,PHP 很受欢迎?
https://stackoverflow.com/tags
此外,Java主要用于企业应用程序。
Perhaps because of the popularity of PHP, compared to other tools?
https://stackoverflow.com/tags
In addition, Java is mostly used for enterprise applications.
我认为 PHP 的可能性更大,因为 PHP 模块和 Apache 在 Linux 上更频繁地结合在一起。但是,我仍然通过在托管服务上安装 Python 并解决所有与环境相关的问题来托管 Python Web 应用程序。这并不理想,但这是唯一的方法。
您可以查看其中一些是否适合您:
http://wiki.python.org/moin/FreeHosts
I think it's more likely to have PHP because the PHP module and Apache come together on Linux more often. However, I still hosted Python web applications by installing Python on my hosted service and working around all the environment related issues. It's not ideal, but that was the only way to do it.
You can check out some of these if they work for you:
http://wiki.python.org/moin/FreeHosts
Java 和 Ruby on Rails 的资源(CPU 和 RAM)非常昂贵。
Perl 几乎在所有地方都受到支持……但尚未发布。可能没有那么要求
蟒蛇...我不知道。可能没有那么要求。但有几个免费的 Python 托管选项,例如 http://code.google.com/appengine/ 以及许多其他的(当然,PHP 到目前为止仍然是王者)。
Java and Ruby on Rails are expensive in resources (CPU and RAM).
Perl is supported pretty much everywhere...but not published. Probably not so requested
Python...I don't know. Probably not so requested. But there are several free Python hosting options, like http://code.google.com/appengine/, and many others (of course, PHP is still the king by far).
我还没有看到任何网络主机缺少对 Python 的支持......我不确定你在哪里寻找。查看 Webfaction - 它们确实是处理较小内容的最佳选择。
I haven't seen Python support missing from any webhosts ... I'm not sure where you're looking. Checkout out Webfaction - they really are the best for smaller stuff bar none.