Java 对于新闻网站来说是不是太过分了?

发布于 2024-07-14 08:59:16 字数 135 浏览 4 评论 0原文

我的一个客户想要一个用 Java 设计的新闻网站,我告诉他 Java 对于这种网站来说有点过分了。 我向他建议我们可以为他定制几十种CMS,以及其他更适合网站的编程语言,但他坚持要这样做。

Java 对于新闻网站来说是不是太过分了?

A client of mine wants a news website designed in Java, and I told him that Java is overkill for that kind of website. I suggested to him that there are dozens of CMS that we can customize for him, as well as other programming languages that are better suited for websites but he insisted.

Is Java overkill for news websites?

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

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

发布评论

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

评论(8

烟燃烟灭 2024-07-21 08:59:16

我认为这里真正的问题是,无论你的客户是谁,都有这样的观念:问题可以通过不知名的编程语言来解决。 我知道您也认识到这个问题,但是在任何行业中“客户永远是对的”,您就必须让步。

那么Java对于新闻网站来说是不是杀伤力太大了​​? 那要看。 如果他所要求的内容可以在 Drupal 甚至 Wordpress 中开箱即用,那么答案是肯定的。 进一步的真正问题将是:

  • 他的组织在 Java 方面有多少专业知识(你必须考虑他想要自己维护系统的可能性 - 如果他的员工了解 Java,你现在就知道他为什么坚持使用它)
  • 他真正想要的功能是什么? 网站未来将如何发展? (有些功能在 PHP 中比在 Java 中更难实现)
  • 成本影响是什么? (如果他想要更便宜,你可以简单地定制 Drupal 或 Wordpress,但如果预算不是主要考虑因素,那么使用 Java 就可以了)。

I think the real issue here is that whoever your client is has this notion that problems can be solved by name-dropping programming languages. I understand that you recognize this problem too, but in any business "the customer is always right" and you'll have to give in.

So is Java overkill for news websites? That depends. If what he's asking for is available in Drupal or even Wordpress out of the box, then the answer is yes. The real questions further on will be:

  • How much expertise does his organization have on Java (you have to consider the possibility that he wants to maintain the system by himself -- if his employees know Java, you now know why he insists on it)
  • What are the features that he actually wants? How will the site evolve in the future? (There will be features that will be more difficult to implement in PHP than in Java)
  • What are the cost implications? (If he wants it cheaper, you can offer to simply customize Drupal or Wordpress, but if budget is not a major consideration, going with Java would be fine).
尴尬癌患者 2024-07-21 08:59:16

我认为语言的争论有点无关紧要,只要有足够的时间和技能,你就可以用任何东西来编写任何东西。 Java 并不比许多其他工具更好/更差。 然而真正的答案已经在这里 - 使用 CMS 必须有意义。 为什么要从头开始编写,听起来确实像是重新发明了一个轮子。

为什么不列出基本的需求列表,与 CMS(Java、Python、Ruby 等)进行交叉匹配,然后如果您必须从头开始编码,则为相同的功能定价。 这是一个很好的论点。

I think the language argument is a little irrelevant, you can realistically code anything in anything given enough time and skill. Java is no better/worse than many other tools. However the real answer is already here - using a CMS must make sense. Why write from scratch, sure sounds like a wheel being re-invented.

Why not do a basic list of requirements, cross-match to CMS (Java, Python, Ruby et al), and then price up the same features if you had to code from scratch. That's a pretty good argument.

断舍离 2024-07-21 08:59:16

该语言没有定义可能的功能集,对于任何重要的事情,Java 也没有比 PHP 具有特别高的开销。 真正的问题是:

  1. 它必须是 Java 吗? 客户可能需要 Java,因为现有的部署要求或者 Java 团队希望稍后修改代码,在这种情况下,Java 要求可能是不可协商的。
  2. 它可以是预构建的解决方案还是必须定制? 许多语言都有现成的 CMS,包括 Java。 RedHat (JBoss) 制作了一个(个人从未使用过)。

我会尽力向您的客户澄清真正的要求是什么; 您也许可以使用现有的 CMS 并对其进行自定义; 某些 CMS 可以使用 SOAP 或其他一些外部 API 进行自定义,从而允许您使用所需的任何语言进行自定义。

The language doesn't define the possible feature set, nor does Java have a particularly high overhead vs PHP for anything non-trivial. The real questions are:

  1. Does it have to be Java? The customer may want Java because of existing deployment requirements or because a Java team expects to modify the code later, in which case the Java requirement might be non-negotiable.
  2. Can it be a pre-built solution or does it have to be custom? There are off-the-shelf CMSes in many languages, including Java. RedHat (JBoss) makes one (never used it, personally).

I would try to clarify with your client what the real requirements are; you might be able to use an existing CMS and just customize it; some CMSes can be customized using SOAP or some other external API allowing you to use whatever language you want for the customizations.

清浅ˋ旧时光 2024-07-21 08:59:16

除非他真的知道他在谈论需要 Java 的内容(可能与硬件/操作系统相关等),否则您可能只是向他展示他正在寻找的内容的示例。

基本上,让他专注于他想要的事情。 一旦他做出承诺,即“这就是我需要的”时刻,您可以在那时向他解释他不需要 Java,但他可以使用其他更便宜且更快地为他开发的东西。

Unless he really does know what he's talking about with requiring Java (maybe hardware/OS related, etc), you might just show him an example of what he's looking for.

Basically, have him focus on what he wants. Once he commits, the "that's what I need" moment, you can explain to him at that point he doesn't need Java, but he can get by with something else for cheaper and developed for him faster.

妳是的陽光 2024-07-21 08:59:16

有许多开源产品可以满足需要。 我建议您查看其中的一些内容,然后确定是否可以扩展它们来完成缺少的内容。

我想说,用任何语言从头开始编写这样的服务都是矫枉过正的。

There are many open source products which could do what is need. I suggest you look at some of these and then determine if you could extend them do whatever is missing.

I would say it is overkill to write such a service from scratch in any language.

耳钉梦 2024-07-21 08:59:16

我们使用java(除其他外)为我们的新闻网站,但我们可能是一个不寻常的案例 - 网络上最大的新闻网站之一。

也许 java 对于您的客户来说也是正确的答案 - 但更有可能的是,他们会通过购买现有的解决方案获得更好的价值,除非您找不到实现所有所需功能的解决方案。

We use java (amongst other things) to code a custom CMS for our news site, but we are probably an unusual case - one of the largest news sites on the web.

Maybe java is the right answer for your client too - but it is more likely that they would get better value from buying in an existing solution, unless you can't find one that implements all the required features.

浊酒尽余欢 2024-07-21 08:59:16

在我看来,Java 非常适合构建和构建。 从长远来看维护 CMS...它为您提供了类型安全和安全性的所有好处。 使用正确的设计和工具时的 IDE 支持。

看看 Jease (http://www.jease.org/),这是一个非常好的开始在几分钟内创建一个定制的 Java-CMS。

In my opinion Java is just perfect to build & maintain a CMS in the long run... it gives you all the goodies of type-safety & IDE-support when using the right designs and tools.

Have a look at Jease (http://www.jease.org/) which is a very good start to create a customized Java-CMS in minutes.

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