简体   繁体   English

使用Ruby制作哪些应用程序?

[英]which applications made with Ruby?

Can I make a windows application with Ruby? 我可以使用Ruby制作Windows应用程序吗?

what famous software made with Ruby (on or off the rails :D)? 什么着名的软件用Ruby制作(开启或关闭:D)?

everybody seems to be talking about Ruby , and I need a motivation to learn it. 每个人似乎都在谈论Ruby,我需要学习它的动力。

You most certainly can, though it's uncommon due to Ruby's affinity to web programming. 你肯定可以,但由于Ruby对网络编程的亲和力,这种情况并不常见。 Ruby is a cross-platform language, so if you write the code, there's a 99% chance that it will work anywhere you can install the ruby interpreter. Ruby是一种跨平台语言,所以如果你编写代码,它有99%的可能性,它可以在任何你可以安装ruby解释器的地方工作。

Specific to windows, there's the Win32 API , which allows you to interface with the windows-specific libraries from creating GUIs to getting data from the clipboard. 特定于Windows,有Win32 API ,它允许您与特定于Windows的库进行交互,从创建GUI到从剪贴板获取数据。 In addition, Ruby has modules for WxWidgets , Qt , and GTK ; 此外,Ruby还有WxWidgetsQtGTK的模块; so a large number of cross platform GUI-toolkits are available. 因此可以使用大量的跨平台GUI工具包。

As for a state of purpose, the Ruby website has a listing of authorities that use Ruby and what they use it for. 至于目的状态,Ruby网站有一个使用Ruby 的权限列表以及它们使用它的内容。

If you're feeling daring, you can use JRuby and develop in Ruby that runs on the JVM; 如果你感觉很大胆,可以使用JRuby并在JVM上运行Ruby; meaning that your program is able to run anywhere that Java can be installed. 这意味着您的程序可以在任何可以安装Java的地方运行。

I believe twitter is the most famous ruby on rails 'application' made to-date. 我相信twitter是迄今为止最着名的ruby on rails'application'。 Making applications with ruby for windows works just like with any other scripting language. 使用ruby for windows制作应用程序就像使用任何其他脚本语言一样。 If you would like to get inspired I recommend watching some screen casts . 如果您想获得灵感,我建议您观看一些屏幕演员 Also, the starting with rails guide I found was very helpful. 另外,我发现使用rails guide开始非常有帮助。

To answer your first question - on the GUI side, you may want to look into the Shoes toolkit. 要回答您的第一个问题 - 在GUI方面,您可能需要查看Shoes工具包。 Here's a screencast on getting started with Shoes. 这是关于鞋子入门的截屏视频

You can find a list of "famous" Rails applications on the Rails site . 您可以在Rails站点上找到“着名的”Rails应用程序列表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM