是否可以将 Vaadin 与 Rails 集成???如果是这样,怎么办?

发布于 2024-08-22 10:30:59 字数 95 浏览 6 评论 0原文

据我所知,Vaadin 是一个基于 Java 的 UI 框架。但它有一些非常好的小部件集和一个非常好的布局引擎。是否可以集成 Rails 和 Vaadin?也许是 JSON??

As i see Vaadin is a Java based UI framework. But it has some really nice set of widgets and a very good layout engine. Is it possible to integrate Rails and Vaadin? JSON perhaps??

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

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

发布评论

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

评论(2

空城之時有危險 2024-08-29 10:30:59

听起来这需要大量工作来在它们之间创建一个接口,这可能只会减慢速度。当一切都按照您想要的方式工作时,您就可以分别在 Rails 或 Vaadin 中完成您想要的事情了。

如果您确实创建了一个接口,那么 JSON 就是最佳选择。轻量级,几乎所有东西都支持它,而且开销很小。

It sounds like that'd take a lot of work creating an interface between them which will likely only slow things down. By the time you had everything working the way you wanted you could've finished what you wanted in Rails or Vaadin separately.

If you did make an interface, JSON is the way to go. Lightweight and almost everything supports it with little overhead.

哥,最终变帅啦 2024-08-29 10:30:59

除了基于 javascript 的框架之外,还有其他选择吗?除了常见的(jquery、prototype、sproutcore

只是指出,所有在浏览器中运行的富 UI 框架最终都是 JavaScript(不包括 Flash 之类的任何插件),甚至是构建在 GWT 之上的 Vaadin 。

我想您必须考虑在服务器端(例如使用 Vaadin Java servlet)或在客户端通过 HTTP(使用 JSON)进行自定义数据交换并使用某些客户端与 Rails 后端集成 侧框架如 GWT、SproutCore、Cappuccino 等。

is there any alternative to javascript based frameworks?? other than the usual ones (jquery, prototype, sproutcore

Just pointing out, that all rich UI frameworks that run in the browser are JavaScript in the end (not including any plugins like Flash), even Vaadin, which is built on top of GWT on the client side.

I guess you'll have to consider integrating with the Rails backend either on the server side (e.g. with a Vaadin Java servlet) or on the client side with a custom data exchange over HTTP (using JSON) and using some client side framework like GWT, SproutCore, Cappuccino etc.

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