Scala/Lift 与 Java/Spring。为什么要打架?
我是 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定这个问题是否适合堆栈溢出。这是一种心理现象,通过这种现象,一个人会对自己所做的选择产生防御性,并对自己可能是错误的建议抱有敌意。
我听过至少有两种不同的解释。第一,这些选择成为个人自我意识的一部分,因此他将对他们的威胁解释为对自己的威胁。另一方面,人类的推理意识并不是为了寻找“真理”而进化的,而是为了说服别人——他们在讨论时的冲动不是为了查明事实,而是为了让别人相信自己的观点。看法。
至于Lift和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
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.