English 中文(简体)
Best way to create GOOD LOOKING, multi-platform, desktop Ruby apps? [closed]
原标题:

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 2 years ago.

I ve got an idea for an idiotically simple application, one that converts HAML and SASS into HTML & CSS files for the user by watching directory changes (like Compass). Almost all the components are already available in the community, I just need to figure out what to use for the front-end.

The catch:

It must be:

  1. a standalone app (i.e. users must NOT be required to install Ruby or HAML),
  2. that looks good,
  3. and is available in several platforms (linux, mac, windows).

So far I know very little about:

  • RubyScript2Exe: which packages ruby applications for you

  • Adobe AIR: desktop-style web-development...but is it easy to integrate with Ruby?

  • Adobe Flex: Is this only for web-based development?

  • Java /jRudy: (I get scared just thinking about it)

  • FXRuby: a ruby GUI toolkit which is unfortunately too old-fashioned (read ugly ) to attract the audience I m looking to target (designers and HTML developers....no, I m not planning to charge for it, just want to make an attractive app)

  • Shoes: Another ruby-based GUI toolkit that may or may not suffice...is there a GUI builder for this?

Of course, other options are more than welcome.

If you provide an answer, please be kind enough to also leave a link to a good starter tutorial that integrates Ruby and your technology of choice?

最佳回答

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.

问题回答

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

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?

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.





相关问题
Disable button tooltip in AS3

I want to disable the tooltip on certain buttons. The tooltip manager seems to be an all or nothing solution. Is it possible to disable the tooltip for just one or two buttons?

Multiple Remote call made simultenously

I was making multiple remote calls and they are done sequentially and when I am getting a result event back it s triggering calls to all the methods with ResultEvent as an argument . I am supposed to ...

Attaching a property to an event in Flex/AS3

I have a parameter that needs to be passed along with an event. After unsuccessful attempts to place it on the type by extending the class, I ve been advised in another SO question to write a custom ...

Clearing RSL in Cache

I have built a flex application which has a "main" project and it is assosciated with a few RSL s which are loaded and cached once i run my "main" application. The problem i am facing is that the ...

What s a good way of deserializing data into mock objects?

I m writing a mock backend service for my flex application. Because I will likely need to add/edit/modify the mock data over time, I d prefer not to generate the data in code like this: var mockData =...

AS3 try/catch out of memory

I m loading a few huge images on my flex/as3 app, but I can t manage to catch the error when the flash player runs out of memory. Here is the what I was thinking might work (I use ???? because i dont ...

热门标签