Roo 或 Grails(同一公司,类似产品)

发布于 2024-11-17 06:36:59 字数 349 浏览 5 评论 0原文

可能的重复:
Grails 与 Roo - 为什么 SpringSource 正在推动两个非常相似的技术类似的技术?

了解这两种技术仍然很困惑..因为它们都在同一保护伞下,并且本质上都用于 RAD。 两者都有插件、扩展……范围相同。 您更喜欢哪一个来学习 Web 开发? ,我的背景更像是后端人员。

Possible Duplicate:
Grails vs Roo - why SpringSource is pushing two very similar technologies?

Read about both still confused..becausethey are both under the same umbrella and protically are used for RAD.
Both have plugins ,extensions...so kind of the same scope.
WHich one you would preffer for learing web developent ? , my background being more like a backend guy.

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

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

发布评论

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

评论(2

丘比特射中我 2024-11-24 06:36:59

这两个框架的基本概念存在一些很大的差异:

  • Grails 使用 Groovy 语言,这是一种与 Java 非常相似但更强大的动态语言。如果您喜欢动态语言,这是一个很大的优势,但它是需要学习的新东西。虽然使用 Groovy 中的 Java 类非常容易,反之亦然,但核心类(模型、控制器、服务)必须是 Groovy 代码,因为它们依赖于 Java 中不可用的语言功能。另一方面,Roo 是纯 Java 的。
  • Roo 预先生成代码,可以独立于 Roo 框架进行修改和使用(没有强制的运行时 Roo 组件。另一方面,如果没有相当重的 Grails 运行时,Grails 项目就无法工作。

还有一些主要相似之处:

  • 两个框架都创建应用程序框架,通过命令行打包和运行应用程序
  • 两个框架都有一个插件 API,可以轻松与其他框架、工具或库集成

There are some big differences in the basic concepts of the two frameworks:

  • Grails uses the Groovy language, which is a dynamic language very similar to Java but more powerful. If you like dynamic languages, this is a big plus, but it's something new to learn. While it's very easy to use Java classes from Groovy and vice versa, the core classes (model, controller, services) have to be Groovy code because they rely on language features not available in Java. Roo, on the other hand, is pure Java.
  • Roo generates code up front, which can be modified and used independent of the Roo framework (there are no mandatory runtime Roo components. Grails projects, on the other hand, cannot work without a pretty heavy Grails runtime.

There are also some major similarities:

  • Both frameworks create application skeletons, package and run the application through a command line
  • Both have a plugin API that allows easy integration with other frameworks, tools or libraries
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文