创建美观的多平台桌面 Ruby 应用程序的最佳方式是什么?

发布于 2024-08-11 08:40:11 字数 1539 浏览 6 评论 0原文

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

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

发布评论

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

评论(4

盗心人 2024-08-18 08:40:11

我最近不得不决定为一个简单的应用程序选择一个窗口化前端。我研究了 FXRuby、TKRuby、Shoes 和 WXRuby。

鞋子是唯一帮助我制作应用程序的。其余的(可能)更强大,但复杂性的成本(与鞋子相比)似乎巨大。我以前从未坐下来使用一个丑陋的大窗口 API,并且不想仅仅为了实现我的简单报告生成器而学习一个 API。目前尚不清楚如何获取这些 API 的代码并可靠地生成可执行文件。鞋子的内置包装机非常适合我。

我在使用 Shoes 时遇到的一个问题是获取文档时遇到困难。我最终了解到运行 shoes -m 会启动一个鞋子应用程序,它可以作为一本非常有用的手册。官方教程值得(而且简短)阅读。它位于此处

鞋子对我来说很好用,并且将是我将来选择制作的任何简单实用程序的第一个停靠点。

I recently had to decide on a Windowed front end for a simple app. I looked into FXRuby, TKRuby, Shoes and WXRuby.

Shoes was the only one that helped me make my app. The rest were (probably) more powerful but the cost in complexity (compared to Shoes) seemed vast. I had never had to sit down and work with a big ugly window API before and didn't want to learn one just to achieve my simple report generator. It wasn't clear how to take code for these API's and reliably generate an executable. Shoes' built in packager works nicely for me.

The one problem I had with Shoes was the trouble getting documentation. I eventually learned that running shoes -m launches a shoes app which acts as a very useful manual. The official tutorial is a worthwhile (and short) read. That's located here.

Shoes served me well and will be my first port of call on any simple utility i choose to make in the future.

北方的巷 2024-08-18 08:40:11

您看过钛桌面吗?可能就是您想要的

have you had a look at titanium desktop? might be what your looking for

云醉月微眠 2024-08-18 08:40:11

哦,这个问题让我的毛孔都冒出了热气。我相信互联网的未来就在于卡布奇诺。我知道这听起来像个插头,但我发誓,280slides 和 Atlas 给我留下了深刻的印象。一个使用 Cocoa 的界面生成器构建的 Web 框架,可以通过一个简单的下拉框为 Cocoa 本机编译,也可以编译为一个强大的网页?热热热。也许沸腾?

Oh, hotness flows from my pores about this question. I believe the future of the internet lies over thisaway Cappuccino. I know it sounds like a plug but I swear, I'm just impressed as hell by 280slides and Atlas. A web framework that's built using Cocoa's interface builder and can be compiled for both Cocoa natively as well as a kickass web page by a simple drop-down box? Hot hot hot. Boiling maybe?

临走之时 2024-08-18 08:40:11

Limelight 是另一种选择。它基于 JRuby,可作为 Windows 和 OSX 的二进制安装,或作为任何平台的 gem。 Limelight 主页上有链接的教程和截屏视频。

我没有使用过它,但认为它值得一提(我确实下载了 Windows 版,但无法启动它 - 我怀疑我的工作代理导致了问题)。

我也会投票给鞋子。

Limelight is another alternative. It's JRuby based and available as a binary install for Windows and OSX, or as gem for any platform. There is a tutorial and screencast linked on the Limelight homepage.

I haven't used it, but thought it was worth a mention (I did download for Windows, but couldn't get it to launch - I suspect my work proxy is causing problems).

My vote would be for Shoes as well.

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