Java 对于新闻网站来说是不是太过分了?
我的一个客户想要一个用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
我认为这里真正的问题是,无论你的客户是谁,都有这样的观念:问题可以通过不知名的编程语言来解决。 我知道您也认识到这个问题,但是在任何行业中“客户永远是对的”,您就必须让步。
那么Java对于新闻网站来说是不是杀伤力太大了? 那要看。 如果他所要求的内容可以在 Drupal 甚至 Wordpress 中开箱即用,那么答案是肯定的。 进一步的真正问题将是:
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:
我认为语言的争论有点无关紧要,只要有足够的时间和技能,你就可以用任何东西来编写任何东西。 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.
让他看看 http://en.wikipedia.org/wiki/Magnolia_(CMS ) (http://www.magnolia-cms.com/home.html< /a>) - 它是用 java 编写的。 社区版是开源的
have him take a look at http://en.wikipedia.org/wiki/Magnolia_(CMS) (http://www.magnolia-cms.com/home.html) - it is written in java. the community edition is open source
该语言没有定义可能的功能集,对于任何重要的事情,Java 也没有比 PHP 具有特别高的开销。 真正的问题是:
我会尽力向您的客户澄清真正的要求是什么; 您也许可以使用现有的 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:
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.
除非他真的知道他在谈论需要 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.
有许多开源产品可以满足需要。 我建议您查看其中的一些内容,然后确定是否可以扩展它们来完成缺少的内容。
我想说,用任何语言从头开始编写这样的服务都是矫枉过正的。
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.
我们使用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.
在我看来,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.