Ruby GUI(非复杂布局)
我对 Ruby GUI 设计做了相当多的研究,这似乎是 Ruby 往往落后的领域。我探索了 MonkeyBars、wxRuby、fxRuby、Shoes 等选项,只是想从 Ruby 社区获得一些意见。
虽然它们绝对可用,但每一个的开发似乎都在下降。我在其中找不到大量有用的文档或用户库(除了 fxRuby 书)。我只是想制作一个简单的 GUI,所以我真的不想花费数百个小时学习更复杂的工具的复杂性或尝试使用甚至不再开发的东西(鞋子是应用程序的类型)我正在寻找,但它有很多错误并且没有得到积极开发。)在所有选项中,你们会推荐哪一个是最快上手并且仍然具有某种开发基础的?
谢谢!
I've done quite a bit of research on Ruby GUI design, and it appears to be the one area where Ruby tends to be behind the curve. I've explored the options of MonkeyBars, wxRuby, fxRuby, Shoes, etc. and was just wanted to get some input from the Ruby community.
While they're definitely usable, the development on each seems to have fallen off. There is not a great deal of useful documentation or user bases that I could find on any (minus the fxRuby book). I'm just looking to make a simple GUI, so I don't really want to spend hundreds of hours learning the intricacies of the more complex tools or attempt to use something that is no longer even being developed (Shoes is the type of application I'm looking for, but it's extremely buggy and not being actively developed.) Out of all of the options, which would you guys recommend as being the quickest to pick up and that still has some sort of development base?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我不知道你所说的鞋子非常有缺陷是什么意思。它非常适合构建您自己的小应用程序:-)
是的,shoe3 和包装/安装程序存在问题。然而,这个社区是我见过的最好的社区之一。总是很友善并且乐于助人解决问题。您可以访问邮件列表:[电子邮件受保护]。
如果您正在寻找基本信息Nobody Knows Shoes和鞋子手册是您最好的朋友。
然而,我们目前正在开发 shoes 4 - 这是一个考虑到多个后端的完整重写 - 第一个后端是jruby/swt
所以我肯定会推荐鞋子:-)
穿上鞋子!
I don't know what you mean by Shoes being extremely buggy. It works perfectly fine for building your own little application :-)
Yes there are problems with shoes3 and packaging/installer. However the community is one of the nicest I ever saw. Always nice and helpful figuring out problems. You can reach the mailing list at [email protected].
If you're looking for basic information Nobody Knows Shoes and the shoes manual are your best friends.
However we are currently working on shoes 4 - which is a complete rewrite having multiple backends in mind - first backend being jruby/swt
So I would definitely recommend shoes :-)
Shoes on!
我一直在考虑类似的需求,并正在考虑选择一个 javascript gui 库,例如 Dojo 或 Sproutcore;或者使用 JRuby + Netbeans 作为基于 Java 的 GUI。
对我来说,Aptana 是一个很好的环境,可以让我开始尝试 javascript 库来测试学习曲线开始时的痛苦。我仍在努力寻找时间来完成我的比较。
I've been looking at similar needs and am considering picking up a javascript gui library like Dojo or Sproutcore; or using JRuby + Netbeans for a Java based GUI.
For me, Aptana was a nice environment to start trying the javascript libraries to test the pain starting the learning curve. I'm still trying to find time to finsh my comparison.
http://en.wikibooks.org/wiki/Ruby_Programming/GUI_Toolkit_Modules
可能有帮助
聚光灯看起来很有趣
http://en.wikibooks.org/wiki/Ruby_Programming/GUI_Toolkit_Modules
might help
limelight looks interesting
您可以尝试:
DialogBlocks 使用 wxWidgets / wxRuby 创建 XRC 文件
xrcise - 创建 ruby 文件来加载 XRC
我面临着编写许多小型 GUI 和一些的任务
这很复杂。以上对我有用。虽然
以上适用于 Windows,我只能保证 Linux 实现
效果非常好。
仅供参考:DialogBlocks 的价格约为 100 美元。它将创建 C++
或 XRC 文件。它也擅长切换平台。我认为
有一个演示版本。
我的版本信息:
ruby 1.9.1p243
wxWidgets 2.8.10
wxRuby 2.0.1
wx_sugar 0.1.22(用于 xrcise)
You might try:
DialogBlocks to create an XRC file using wxWidgets / wxRuby
xrcise - to create a ruby file to load the XRC
I am faced with the task of writing many small GUI's and a few
that are complicated. The above has worked for me. While the
above works on Windows, I can only vouch for the Linux implementations
which work very nicely.
FYI: DialogBlocks will run you about $100. It will create C++
or XRC files. It is also good at switching platforms. I think
there's a demo version.
My version info:
ruby 1.9.1p243
wxWidgets 2.8.10
wxRuby 2.0.1
DialogBlocks 4.28
wx_sugar 0.1.22 (for xrcise)