views:

263

answers:

6

Well, I tried Shoes, Titanium, and RubyFX (or was it FXRuby?) and am not yet quite happy with the stability and cross-platform support from any of them as desktop application GUI tools. Next in line is Adobe AIR. Anyone know what the best tool is that will integrate Ruby and Adobe AIR? Is it even possible?

+1  A: 

I think the better question might have been "is there an AIR/Ruby integration framework?" because I don't recall ever having seen such a thing...

Did you consider Google as a possible first port-of-call? ;-)

First result I got was some info at RubyInside.

However, the fact that this question is (as I write this) the #8 search result suggests that there may may not be much to find.

Beyond that, I'd also suggest taking a look at WxRuby, which seems - from a Windows-only perspective so far - to produce nicely native-looking UIs.

Mike Woodhouse
btelles
Sorry Mike, after thinking about this again, if an AIR/Ruby integration framework doesn't exist yet, then the answer remains unanswered. :-/ The RubyInside article doesn't seem to have solutions that would mesh the two and create a full standalone Ruby/Air app.
btelles
re "doesn't exist yet/unanswered": no disagreement here!
Mike Woodhouse
A: 

Hi,

did you try http://restfulx.github.com/ ?

mekdigital
Hmm...I was looking for something that would allow me to provide users with an air installer file, or .exe, .dmg, or .run file with which they could run a small program and use it on their desktop. I think RestfulX still relies on a ruby interpreter in the server. The program needs to be able to interact with a user's local file system (converting haml to html for static site generation). Any idea if packaging like that is possible with RestfulX?
btelles
+1  A: 

Have you considered using jRuby and Swing? Using Ruby really makes Swing much more pleasant to work with.

Mike
Interesting idea, Mike. I'll have to look into it.
btelles
A: 

It appears that at the time of writing, there are no Ruby/AIR frameworks.

btelles
A: 

I'd agree that there isn't a framework that answers your question, per se. But if you have a majority your rails stuff written, a good 'service wrapper' that you might want to look at is weborb. We use it for our C# classes and it's only about 10Bil times faster than flat xml service calls (You'll still receive xml, but it will be serialized/deserialized --- may the FSM bless AMF.)

True, you'd still have to write a UI, which, by the wording of your question, I'm guessing you wanted to avoid.

jeremym
A: 

Is this the sort of thing you are looking for? http://www.appcelerator.com/products/titanium-desktop/

James Hollingworth
Yes, but I tried the latest release on Windows and on Linux. On Windows, the packager hung. On Linux, the 'sandbox' hung. And I need to feel comfortable that the product works on all three platforms. Maybe in 6 months or after they work out the kinks I'll re-evaluate the accepted answer.
btelles