简体   繁体   English

Java或Mono用于新项目

[英]Java or mono for a new project

I need your advice about framework selection (Java vs Mono) for a new large scale web project which will be developed for linux hardware. 对于新的针对Linux硬件开发的大型Web项目,我需要您有关框架选择(Java与Mono)的建议。

Which platform do you prefer and why ? 您喜欢哪个平台,为什么?

Best Regards, Sirmak 最好的问候,Sirmak

Since you haven't specified anything about the project nor the developers' expertise, they are the same. 由于您尚未指定有关项目或开发人员专业知识的任何内容,因此它们是相同的。 Both have a lot of strengths and weaknesses, both are free, and both can use high-level languages which get precompiled, the precompiled stuff getting interpreted at runtime. 两者都有很多优点和缺点,都是免费的,并且都可以使用高级语言进行预编译,而预编译的内容则在运行时进行解释。 Both have tons of technologies to do a "large scale web project" including technologies for abstracting the DB layer and doing pages and templating. 两者都有大量的技术来执行“大型Web项目”,其中包括抽象数据库层,执行页面和模板化的技术。 Both have many many many MVC frameworks. 两者都有许多许多MVC框架。 Both have CMSes available. 两者都有可用的CMS。 Both have ways to work with mobile devices, and multiple UI frameworks. 两者都有使用移动设备和多种UI框架的方式。

If you have no specific needs whatsoever, flip a coin. 如果您没有特定需求,请掷硬币。 You'll be fine with either. 两者都可以。 On the other hand, you might want to know your project a bit better before asking this question. 另一方面,在问这个问题之前,您可能想更好地了解自己的项目。

Edit: If you have a "strong .Net background" as you say in your comment under your question, then Mono is a great fit. 编辑:如果您有一个“强大的.Net背景”,如在问题下的评论中所说,那么Mono非常适合。 It's not that Mono allows you to do "something like" .Net: Mono allows you to run .Net assemblies without any alteration in most cases. 并不是说Mono允许您做“ .net之类的事情”: 在大多数情况下, Mono允许您运行.Net程序集而无需做任何改动。 This means that you can develop in .Net yet deploy on Mono (Of course you'll want to be testing on Mono during the entire development cycle), or develop for Mono without retraining your developers. 这意味着您可以在.Net中进行开发,但可以在Mono上进行部署(当然,您将希望在整个开发周期中对Mono进行测试),或者为Mono开发而无需重新培训开发人员。 Mono is, in 2009, mature and being used in many places. Mono在2009年已经成熟,并已在许多地方使用。

As far as distributed searching/caching goes, what technologies are you looking at in Java that might work? 就分布式搜索/缓存而言,您正在寻找Java中哪些可行的技术? This will give the Mono experts a chance to propose Mono alternatives. 这将使Mono专家有机会提出Mono的替代方案。

Another thing you need to consider are the skill sets of the people working on this, and how easy you'll find it in the future to hire Java/Mono people wherever you are (or are you willing to train them). 您需要考虑的另一件事是从事此工作的人员的技能,以及将来在任何地方(或愿意培训他们)雇用Java / Mono员工时,都会发现这很容易。

You can specify a great framework, but if you can't find people to work on it then you've got a major problem. 您可以指定一个很好的框架,但是如果找不到可以从事该框架的人员,那么您将遇到一个主要问题。

Sirmak, You should check out this post where they talk about Mono performance. Sirmak,您应该查看这篇文章 ,他们谈论Mono性能。 This might factor into your concern. 这可能会引起您的关注。 In summary, Mono is still slower compared to others. 综上所述,Mono仍然比其他人慢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM