Scala/Lift 与 Java/Spring。为什么要打架?

发布于 2024-11-19 06:53:10 字数 453 浏览 1 评论 0原文

我是 Spring、Lift 和 Scala 的新手,我不明白为什么对这些技术有如此多的争论。我发现很多人在不同的论坛上对两种编程语言和两种框架进行比较和争论。除了 Java/Lift 语言的差异之外,为什么还有那么多关于 Spring 与 Lift 的讨论呢?

  • Spring 是一个应用程序框架。
  • Lift 是一个网络框架。

这两个框架在概念上不是分开的吗?

当然,Lift 与 Spring 的 MVC 模块在前端开发方面有重叠和竞争,但 Spring 做的不是更多吗?

另外,如果有人喜欢使用 Lift 构建 Web 应用程序,那么是否可以将 Lift 与现有 Spring 基础设施结合/集成,并拥有一个包含 Java、Scala、Spring 和 Lift 的环境?

I'm new to Spring, Lift, and Scala and I don't understand why there is so much fighting over these technologies. I found many people in different forums comparing and fighting over both the two programming languages and the two frameworks. Besides the differences of Java/Lift languages, why is there so much talking about Spring vs Lift?

  • Spring is an application framework.
  • Lift is a web framework.

Aren't the two frameworks conceptually separated?

Of course Lift overlaps and competes with Spring's MVC module for front-end development, but doesn't Spring do much more?

Also, if anyone prefers building a web application using Lift, wouldn't it be just possible to combine/integrate Lift with an existing Spring's infrastructure and having an environment with Java, Scala, Spring, and Lift all together?

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

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

发布评论

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

评论(1

凡尘雨 2024-11-26 06:53:10

我不确定这个问题是否适合堆栈溢出。这是一种心理现象,通过这种现象,一个人会对自己所做的选择产生防御性,并对自己可能是错误的建议抱有敌意。

我听过至少有两种不同的解释。第一,这些选择成为个人自我意识的一部分,因此他将对他们的威胁解释为对自己的威胁。另一方面,人类的推理意识并不是为了寻找“真理”而进化的,而是为了说服别人——他们在讨论时的冲动不是为了查明事实,而是为了让别人相信自己的观点。看法。

至于Lift和Spring为什么相交,你说

当然,Lift 在以下方面与 Spring 的 MVC 模块有重叠和竞争:
前端开发,但是Spring做的不是更多吗?

嗯,Spring 做了更多的事情,但是人们用 Spring 做了更多的事情吗?总的来说,没有。对于那些真正认为 Spring 更重要的人可能根本不关心这样的讨论。

I'm not sure this question is appropriate for stack overflow. This is psychological phenomenon, through which an individual becomes defensive about the choices he makes and hostile to the suggestions that they might be wrong.

I've heard this explained in at least two different ways. One, these choices become part of the sense of self of the individual, so that he interprets threats to them as threats to himself. The other, the sense of reasoning of humans did not evolve to find the "truth", but, rather, to convince others -- their impulse, when discussing, is not to ascertain facts, but to get the others to his own point of view.

As for why Lift and Spring intersect, you said

Of course Lift overlaps and competes with Spring's MVC module for
front-end development, but doesn't Spring do much more?

Well, Spring does much more, but do people do much more with Spring? By and large, no. People for whom Spring actually does mean much more probably don't care at all about such discussions.

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