适合发展缓慢的机构的语言
我有一所大学机构正处于研发阶段的项目。如果这是一家初创公司,我会使用一些运行速度快的语言,例如 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不了解 Ruby,但我有 PHP 背景和一些 Java 背景,最近还发现了 Python。恕我直言,Python 和 Django 框架绝对值得考虑。
原因如下:
如果 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:
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 :)
如果您不想缓慢移动并仍然使用 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.
请查看编程语言比较,以便根据您的需要得出自己的结论项目。
Please check this Comparison of Programming Languages, in order to develop your own conclusions according to the needs of your project.