适合发展缓慢的机构的语言

发布于 2024-10-28 19:20:17 字数 148 浏览 2 评论 0原文

我有一所大学机构正处于研发阶段的项目。如果这是一家初创公司,我会使用一些运行速度快的语言,例如 PHP 或 Ruby。考虑到速度在我当前的项目中不是问题,稳定性、支持、质量和健全性更重要,PHP 适合这里吗?或者 Java 仍然是此类项目的语言吗?

谢谢, 亚历克斯

I have a project which is in the R&D phase at a university institution. If this was a start-up I would use some language which is fast to work with like PHP or Ruby. Considering that speed is less of an issue in my current project and stability, support, quality, and sanity are more important, is PHP suitable here? Or is Java still the language for such projects?

Thanks,
Alex

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

你不是我要的菜∠ 2024-11-04 19:20:17

我不了解 Ruby,但我有 PHP 背景和一些 Java 背景,最近还发现了 Python。恕我直言,Python 和 Django 框架绝对值得考虑。
原因如下:

  • 代码很清晰,非常,并且可以非常不言自明
  • Djagno 的学习曲线不太陡
  • ,文档很好,社区很活跃,
  • 许多情况都有可用的解决方案(我最新的问题:sql 中的树 - django-mptt) 并且人们总是可以改进它们或制作一些全新的东西

如果 Java 和 PHP 是你唯一的选择,那么......这个项目有多大会得到吗?

最近我研究了 Magento,我必须说 PHP 不是这个工具对于这么大的项目。
Java可以编译,PHP不能。不要对 PHP 太过于进取,或者确保良好的托管。

然而,人们可以通过 PHP 获得合理的“进取性”,因为 PHP 拥有完善的 OOP 基础架构,并且有一些基于该基础架构的优秀框架。
PHP 在 Web 上更“自在”,但我从未做过任何用于 Web 的 Java,所以我可能是错的。

让我再说一遍 - Django :)

I don't know about Ruby, but I have a background in PHP and some in Java, and recently discovered Python. Imho Python and Django framework definitely deserve consideration.
Here is why:

  • the code is clear, very DRY, and can be quite self-explanatory
  • Djagno has a not-too-steep learning curve
  • documantation is good, community is alive
  • there are solutions for many situations already availible (my latest prob: trees in sql - django-mptt) and one can allways improve on them or make something completely new

If Java and PHP are your only choices, well... How big is the project going to get?

Recently I had a look into Magento, and I must say PHP is not the tool for such a big project.
Java compiles, PHP doesn't. Don't get too enterprisy with PHP, or secure a good hosting.

However, one can get resonabley "enterprisy" with PHP, since PHP has well-developed OOP infrastructure, and there are some good frameworks that are built upon that.
And PHP is more "at home" on the web, but I never did any Java for web, so I may be wrong.

Let me repeat once again - Django :)

独木成林 2024-11-04 19:20:17

如果您不想缓慢移动并仍然使用 PHP,则可以使用 Zend Framework 或 Symfony。如果您以前从未使用过它们,这将会有所帮助。

为了稳定性、支持、质量等,你应该有单元测试、持续集成和一个好的框架(有一个大的社区和支持)。

面对 PHP,您拥有所有这些(PHPUnit、phpUnderControl、Zend/Symfony 作为出色的框架),因此 PHP 是一个非常好的选择,实际上比 Java 更好的选择。 (Java Web 服务器更难维护)。

作为一名 PHP 开发人员,这是我的观点。

If you wan't to move slowly and still use PHP, you can use Zend Framework or Symfony for example. It will help if you have never used them before.

For stability, support, quality, etc. you should have things like Unit-testing, Continuous Integration and a good framework (with a big community and support).

In the face of PHP, you have all of that (PHPUnit, phpUnderControl, Zend/Symfony as a great frameworks) so PHP is a very good choice, in fact a better choice than Java. (Java web servers are harder to maintain).

As a PHP developer, that's my opinion.

滥情哥ㄟ 2024-11-04 19:20:17

请查看编程语言比较,以便根据您的需要得出自己的结论项目。

Please check this Comparison of Programming Languages, in order to develop your own conclusions according to the needs of your project.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文